|
| 1 | +import setuptools |
| 2 | +import os |
| 3 | + |
| 4 | + |
| 5 | +here = os.path.abspath(os.path.dirname(__file__)) |
| 6 | + |
| 7 | + |
| 8 | +about = {} |
| 9 | +with open(os.path.join(here, "test_gh_workflow", "__pkg_info__.py"), "r", encoding="utf-8") as f: |
| 10 | + exec(f.read(), about) |
| 11 | + |
| 12 | + |
| 13 | +with open("README.md", "r") as fh: |
| 14 | + readme = fh.read() |
| 15 | + |
| 16 | + |
| 17 | +setuptools.setup( |
| 18 | + name="Test GitHub Action workflow", |
| 19 | + version=about["__version__"], |
| 20 | + author="Bryant Liu", |
| 21 | + license="Apache License 2.0", |
| 22 | + description="This is a testing package of GitHub Action reusable workflow", |
| 23 | + long_description=readme, |
| 24 | + long_description_content_type="text/markdown", |
| 25 | + packages=setuptools.find_packages(exclude=("test",)), |
| 26 | + package_dir={"test_gh_workflow": "test_gh_workflow"}, |
| 27 | + zip_safe=False, |
| 28 | + classifiers=[ |
| 29 | + "Development Status :: 3 - Alpha", |
| 30 | + "Intended Audience :: Developers", |
| 31 | + "Topic :: Software Development :: Libraries :: Python Modules", |
| 32 | + "License :: OSI Approved :: Apache Software License", |
| 33 | + "Operating System :: OS Independent", |
| 34 | + "Programming Language :: Python :: 3", |
| 35 | + "Programming Language :: Python :: 3.6", |
| 36 | + "Programming Language :: Python :: 3.7", |
| 37 | + "Programming Language :: Python :: 3.8", |
| 38 | + "Programming Language :: Python :: 3.9", |
| 39 | + "Programming Language :: Python :: 3.10", |
| 40 | + "Programming Language :: Python :: 3.11", |
| 41 | + ], |
| 42 | + python_requires='>=3.6', |
| 43 | + project_urls={ |
| 44 | + "Source": "https://github.com/Chisanan232/GitHub-Action_Reusable_Workflows-Python", |
| 45 | + }, |
| 46 | +) |
0 commit comments