|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | + |
| 3 | +from setuptools import setup, find_packages |
| 4 | +from codecs import open |
| 5 | +from os import path |
| 6 | + |
| 7 | +here = path.abspath(path.dirname(__file__)) |
| 8 | + |
| 9 | +with open(path.join(here, 'README.md'), encoding='utf-8') as f: |
| 10 | + long_description = f.read() |
| 11 | + |
| 12 | +setup( |
| 13 | + name='django-pipstatus', |
| 14 | + |
| 15 | + # Versions should comply with PEP440. For a discussion on single-sourcing |
| 16 | + # the version across setup.py and the project code, see |
| 17 | + # https://packaging.python.org/en/latest/single_source_version.html |
| 18 | + version='0.1.3', |
| 19 | + |
| 20 | + description='Django pipstatus', |
| 21 | + long_description=long_description, |
| 22 | + |
| 23 | + # The project's main homepage. |
| 24 | + url='https://github.com/soerenbe/django-pipstatus', |
| 25 | + |
| 26 | + # Author details |
| 27 | + author='Sören Berger', |
| 28 | + |
| 29 | + |
| 30 | + # Choose your license |
| 31 | + license='GPL-v2', |
| 32 | + |
| 33 | + # See https://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 34 | + classifiers=[ |
| 35 | + # How mature is this project? Common values are |
| 36 | + # 3 - Alpha |
| 37 | + # 4 - Beta |
| 38 | + # 5 - Production/Stable |
| 39 | + 'Development Status :: 3 - Alpha', |
| 40 | + |
| 41 | + # Indicate who your project is intended for |
| 42 | + 'Intended Audience :: Developers', |
| 43 | + 'Framework :: Django', |
| 44 | + |
| 45 | + # Pick your license as you wish (should match "license" above) |
| 46 | + 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)', |
| 47 | + |
| 48 | + # Specify the Python versions you support here. In particular, ensure |
| 49 | + # that you indicate whether you support Python 2, Python 3 or both. |
| 50 | + 'Programming Language :: Python :: 2.7', |
| 51 | + 'Programming Language :: Python :: 3', |
| 52 | + ], |
| 53 | + |
| 54 | + # What does your project relate to? |
| 55 | + keywords='django pip', |
| 56 | + |
| 57 | + # You can just specify the packages manually here if your project is |
| 58 | + # simple. Or you can use find_packages(). |
| 59 | + packages=find_packages(exclude=['contrib', 'docs', 'test*']), |
| 60 | + |
| 61 | + # List run-time dependencies here. These will be installed by pip when |
| 62 | + # your project is installed. For an analysis of "install_requires" vs pip's |
| 63 | + # requirements files see: |
| 64 | + # https://packaging.python.org/en/latest/requirements.html |
| 65 | + install_requires=['django', 'pip>=7'], |
| 66 | + |
| 67 | + # List additional groups of dependencies here (e.g. development |
| 68 | + # dependencies). You can install these using the following syntax, |
| 69 | + # for example: |
| 70 | + # $ pip install -e .[dev,test] |
| 71 | + #extras_require={ |
| 72 | + # 'dev': ['check-manifest'], |
| 73 | + # 'test': ['coverage'], |
| 74 | + #}, |
| 75 | + |
| 76 | + # If there are data files included in your packages that need to be |
| 77 | + # installed, specify them here. If using Python 2.6 or less, then these |
| 78 | + # have to be included in MANIFEST.in as well. |
| 79 | + package_data={ |
| 80 | + '': ['templates/*.html'], |
| 81 | + }, |
| 82 | + |
| 83 | + # Although 'package_data' is the preferred approach, in some case you may |
| 84 | + # need to place data files outside of your packages. See: |
| 85 | + # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa |
| 86 | + # In this case, 'data_file' will be installed into '<sys.prefix>/my_data' |
| 87 | + # data_files=[('my_data', ['data/data_file'])], |
| 88 | + |
| 89 | + # To provide executable scripts, use entry points in preference to the |
| 90 | + # "scripts" keyword. Entry points provide cross-platform support and allow |
| 91 | + # pip to create the appropriate form of executable for the target platform. |
| 92 | + # entry_points={ |
| 93 | + # 'console_scripts': [ |
| 94 | + # 'sample=sample:main', |
| 95 | + # ], |
| 96 | + #}, |
| 97 | +) |
0 commit comments