1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
| from setuptools import setup, find_packages
setup( name="your-package-name", version="0.1.0", packages=find_packages(),
author="Your Name", author_email="your@email.com", description="A short description of your package", long_description=open("README.md").read(), long_description_content_type="text/markdown", url="https://github.com/yourusername/your-package", license="MIT",
classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ],
install_requires=[ "requests>=2.25.0", "git+https://github.com/username/repo.git@branch_name#egg=numpy==1.20.0", ], extras_require={ "dev": ["pytest>=6.0", "black"], "gui": ["pyqt5>=5.15"], },
entry_points={ "console_scripts": [ "module1_hello=my_package.module1:main", "mycli_hello=mycli.mycli2.cli:main", ], },
python_requires='>=3.6', include_package_data=True, package_data={ "your_package": ["data/*.json"], }, zip_safe=False, )
|