|
| 1 | +from io import open |
| 2 | + |
| 3 | +from setuptools import find_packages, setup |
| 4 | + |
| 5 | +with open('dateandtimeparser/__init__.py', 'r') as f: |
| 6 | + for line in f: |
| 7 | + if line.startswith('__version__'): |
| 8 | + version = line.strip().split('=')[1].strip(' \'"') |
| 9 | + break |
| 10 | + else: |
| 11 | + version = '0.0.1' |
| 12 | + |
| 13 | +with open('README.md', 'r', encoding='utf-8') as f: |
| 14 | + readme = f.read() |
| 15 | + |
| 16 | +REQUIRES = [] |
| 17 | + |
| 18 | +setup( |
| 19 | + name='dateandtimeparser', |
| 20 | + version=version, |
| 21 | + description='date and time parsing library.', |
| 22 | + long_description=readme, |
| 23 | + author='glib.ai', |
| 24 | + author_email='samith@glib.ai', |
| 25 | + maintainer='Samith Sha', |
| 26 | + maintainer_email='samith@glib.ai', |
| 27 | + url='https://github.com/GLibAi/dateandtimeparser', |
| 28 | + license='MIT', |
| 29 | + |
| 30 | + keywords=[ |
| 31 | + 'date','time', 'datetime', 'parser' |
| 32 | + ], |
| 33 | + |
| 34 | + classifiers=[ |
| 35 | + 'Development Status :: 4 - Beta', |
| 36 | + 'Intended Audience :: Developers', |
| 37 | + 'License :: OSI Approved :: MIT License', |
| 38 | + 'Natural Language :: English', |
| 39 | + 'Operating System :: OS Independent', |
| 40 | + 'Programming Language :: Python :: 3.6', |
| 41 | + 'Programming Language :: Python :: Implementation :: CPython', |
| 42 | + ], |
| 43 | + |
| 44 | + install_requires=REQUIRES, |
| 45 | + tests_require=['coverage', 'pytest'], |
| 46 | + |
| 47 | + packages=find_packages(), |
| 48 | +) |
0 commit comments