diff --git a/requirements.txt b/requirements.txt index c197d3c..9637c69 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -python-dateutil~=2.8.1 +python-dateutil>=2.8.1 setuptools~=40.6.2 \ No newline at end of file diff --git a/setup.py b/setup.py index 2057954..35af570 100644 --- a/setup.py +++ b/setup.py @@ -1,38 +1,38 @@ -from setuptools import find_packages, setup -import os - -version = {} -with open(os.path.abspath("src"+os.path.sep+"pyawscron"+os.path.sep+"version.py")) as fp: - exec(fp.read(), version) - -try: - assert "." in version['__version__'] -except AssertionError: - raise AssertionError("Failed to obtain version.") - -with open("README.md", "r", encoding="utf-8") as fh: - long_description = fh.read() - -if __name__ == "__main__": - setup( - name="pyawscron", - version=version['__version__'], - author="Michael Martin", - author_email="pitchblack408@gmail.com", - description="An AWS Cron Parser", - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/pitchblack408/pyawscron", - project_urls={ - "Bug Tracker": "https://github.com/pitchblack408/pyawscron/issues", - }, - classifiers=[ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: BSD License", - "Operating System :: OS Independent", - ], - package_dir={"": "src"}, - packages=find_packages(where="src"), - python_requires=">=3.6", - install_requires=["python-dateutil~=2.8.1"], - ) +from setuptools import find_packages, setup +import os + +version = {} +with open(os.path.abspath("src"+os.path.sep+"pyawscron"+os.path.sep+"version.py")) as fp: + exec(fp.read(), version) + +try: + assert "." in version['__version__'] +except AssertionError: + raise AssertionError("Failed to obtain version.") + +with open("README.md", "r", encoding="utf-8") as fh: + long_description = fh.read() + +if __name__ == "__main__": + setup( + name="pyawscron", + version=version['__version__'], + author="Michael Martin", + author_email="pitchblack408@gmail.com", + description="An AWS Cron Parser", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/pitchblack408/pyawscron", + project_urls={ + "Bug Tracker": "https://github.com/pitchblack408/pyawscron/issues", + }, + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: BSD License", + "Operating System :: OS Independent", + ], + package_dir={"": "src"}, + packages=find_packages(where="src"), + python_requires=">=3.6", + install_requires=["python-dateutil>=2.8.1"], + )