|
| 1 | +# Always prefer setuptools over distutils |
| 2 | +from setuptools import setup, find_packages |
| 3 | +# To use a consistent encoding |
| 4 | +from codecs import open |
| 5 | +from os import path |
| 6 | + |
| 7 | +here = path.abspath(path.dirname(__file__)) |
| 8 | + |
| 9 | +# Get the long description from the README file |
| 10 | +with open(path.join(here, 'README.md'), encoding='utf-8') as f: |
| 11 | + long_description = f.read() |
| 12 | + |
| 13 | + |
| 14 | +setup( |
| 15 | + |
| 16 | + name = 'gitconsensus', |
| 17 | + |
| 18 | + version = '0.0.1.dev1', |
| 19 | + packages=find_packages(), |
| 20 | + |
| 21 | + description = 'Automate Github Pull Requests using Reactions', |
| 22 | + long_description=long_description, |
| 23 | + python_requires='>=3', |
| 24 | + |
| 25 | + author = 'Robert Hafner', |
| 26 | + author_email = '[email protected]', |
| 27 | + url = 'https://github.com/tedivm/gitconsensus', |
| 28 | + download_url = 'https://github.com/tedivm/gitconsensus/archive/0.1.tar.gz', |
| 29 | + keywords = 'automation github consensus git', |
| 30 | + |
| 31 | + classifiers = [ |
| 32 | + 'Development Status :: 4 - Beta', |
| 33 | + 'License :: OSI Approved :: MIT License', |
| 34 | + |
| 35 | + 'Intended Audience :: Developers', |
| 36 | + 'Intended Audience :: System Administrators', |
| 37 | + 'Topic :: Software Development :: Version Control' |
| 38 | + |
| 39 | + 'Programming Language :: Python :: 3', |
| 40 | + 'Environment :: Console', |
| 41 | + ], |
| 42 | + |
| 43 | + install_requires=[ |
| 44 | + 'click>=5.0,<6.0', |
| 45 | + 'github3.py==0.9.6,<0.10', |
| 46 | + 'PyYAML>=3.12,<3.13', |
| 47 | + 'requests>=2.18.0,<2.19', |
| 48 | + ], |
| 49 | + |
| 50 | + extras_require={ |
| 51 | + 'dev': [ |
| 52 | + 'wheel', |
| 53 | + 'twine' |
| 54 | + ], |
| 55 | + }, |
| 56 | + |
| 57 | + entry_points={ |
| 58 | + 'console_scripts': [ |
| 59 | + 'gitconsensus=gitconsensus.gitconsensus:cli', |
| 60 | + ], |
| 61 | + }, |
| 62 | + |
| 63 | +) |
0 commit comments