|
| 1 | +#! /usr/bin/env python3 |
| 2 | +# partly taken from https://github.com/pypa/sampleproject/blob/02130aeda025ca86975258f953b5d2531d74e94c/setup.py |
| 3 | + |
| 4 | +# Always prefer setuptools over distutils |
| 5 | +from setuptools import setup, find_packages |
| 6 | +from os import path |
| 7 | +here = path.abspath(path.dirname(__file__)) |
| 8 | + |
| 9 | +# Get the long description from the README file |
| 10 | +with open(path.join(here, 'README')) as f: |
| 11 | + long_description = f.read() |
| 12 | + |
| 13 | +setup( |
| 14 | + name='pythonfoo-hello-world', |
| 15 | + |
| 16 | + # Versions should comply with PEP440. |
| 17 | + version='0.1.0', |
| 18 | + |
| 19 | + description='displays "Hello World!"', |
| 20 | + long_description=long_description, |
| 21 | + |
| 22 | + # The project's main homepage. |
| 23 | + url='https://github.com/pythonfoo/pythonfooLite/tree/master/Level_11', |
| 24 | + |
| 25 | + # Author details |
| 26 | + author='Pythonfoo', |
| 27 | + author_email='pythonfoo@chaosdorf.de', |
| 28 | + |
| 29 | + # Choose your license |
| 30 | + license='WTFPL', |
| 31 | + |
| 32 | + # See https://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 33 | + classifiers=[ |
| 34 | + # How mature is this project? Common values are |
| 35 | + # 3 - Alpha |
| 36 | + # 4 - Beta |
| 37 | + # 5 - Production/Stable |
| 38 | + 'Development Status :: 3 - Alpha', |
| 39 | + |
| 40 | + # Where does it run? |
| 41 | + 'Environment :: Console', |
| 42 | + |
| 43 | + # Indicate who your project is intended for |
| 44 | + 'Intended Audience :: Developers', |
| 45 | + 'Intended Audience :: End Users/Desktop', |
| 46 | + |
| 47 | + # Language |
| 48 | + 'Natural Language :: English', |
| 49 | + |
| 50 | + # Topic |
| 51 | + 'Topic :: Utilities', |
| 52 | + 'Topic :: Internet', |
| 53 | + |
| 54 | + # Specify the Python versions you support here. |
| 55 | + 'Programming Language :: Python :: 3', |
| 56 | + 'Programming Language :: Python :: 3.6', |
| 57 | + ], |
| 58 | + |
| 59 | + # What does your project relate to? |
| 60 | + keywords='hello-world', |
| 61 | + |
| 62 | + # You can just specify the packages manually here if your project is |
| 63 | + # simple. Or you can use find_packages(). |
| 64 | + packages=['pythonfoo_hello_world'], |
| 65 | + |
| 66 | + # List run-time dependencies here. These will be installed by pip when |
| 67 | + # your project is installed. |
| 68 | + install_requires=[], |
| 69 | + |
| 70 | + # To provide executable scripts, use entry points in preference to the |
| 71 | + # "scripts" keyword. Entry points provide cross-platform support and allow |
| 72 | + # pip to create the appropriate form of executable for the target platform. |
| 73 | + entry_points={ |
| 74 | + 'console_scripts': [ |
| 75 | + 'phw=pythonfoo_hello_world:run', |
| 76 | + ], |
| 77 | + }, |
| 78 | +) |
0 commit comments