$ python3 setup.py --help$ python3 setup.py --help-commands$ python3 setup.py develop$ python3 setup.py build install$ python3 setup.py sdist
$ twine upload dist/*.py$ python3 setup.py clean| import os | |
| from setuptools import setup, find_packages | |
| def read(filename): | |
| filepath = os.path.join(os.path.dirname(__file__), filename) | |
| file = open(filepath, 'r') | |
| return file.read() | |
| setup( | |
| name='', | |
| version='', | |
| author='Thiago P. Bueno', | |
| author_email='thiago.pbueno@gmail.com', | |
| description='', | |
| long_description=read('README.md'), | |
| long_description_content_type="text/markdown", | |
| license='GNU General Public License v3.0', | |
| keywords=[], | |
| url='', | |
| packages=find_packages(), | |
| scripts=[], | |
| install_requires=[], | |
| include_package_data=True, | |
| zip_safe=False, | |
| classifiers=[ | |
| 'Development Status :: 3 - Alpha', | |
| 'Environment :: Console', | |
| 'Intended Audience :: Science/Research', | |
| 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', | |
| 'Natural Language :: English', | |
| 'Operating System :: OS Independent', | |
| 'Programming Language :: Python :: 3', | |
| 'Topic :: Scientific/Engineering :: Artificial Intelligence' | |
| ], | |
| ) |
$ python3 setup.py --help$ python3 setup.py --help-commands$ python3 setup.py develop$ python3 setup.py build install$ python3 setup.py sdist
$ twine upload dist/*.py$ python3 setup.py clean