From 50ca3a8fc78fcbb01c61693a9287631bdc715e14 Mon Sep 17 00:00:00 2001 From: pitchblack408 <8700224+pitchblack408@users.noreply.github.com> Date: Thu, 19 Jan 2023 09:07:39 -0800 Subject: [PATCH] Added some calender pdfs in docs folder --- {tests => docs}/2022_Calendar.pdf | Bin {tests => docs}/2023_Calendar.pdf | Bin requirements.txt | 2 +- setup.py | 76 +++++++++++++++--------------- 4 files changed, 39 insertions(+), 39 deletions(-) rename {tests => docs}/2022_Calendar.pdf (100%) rename {tests => docs}/2023_Calendar.pdf (100%) diff --git a/tests/2022_Calendar.pdf b/docs/2022_Calendar.pdf similarity index 100% rename from tests/2022_Calendar.pdf rename to docs/2022_Calendar.pdf diff --git a/tests/2023_Calendar.pdf b/docs/2023_Calendar.pdf similarity index 100% rename from tests/2023_Calendar.pdf rename to docs/2023_Calendar.pdf 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"], + )