-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
52 lines (45 loc) · 1.72 KB
/
setup.py
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
50
51
52
"""Distutils setup file, used to install or test 'implements'."""
from __future__ import print_function
import textwrap
from setuptools import setup
with open('README.rst') as f:
readme = f.read()
_DESCRIPTION = 'Pythonic interfaces using decorators'
_AUTHORS = 'Kamil Sindi <[email protected]>'
_INSTALL_REQUIRES = ['setuptools_scm>=1.15.0']
_SETUP_REQUIRES = ['setuptools>=18.0', 'pytest-runner',
'setuptools_scm>=1.15.0', 'sphinx_rtd_theme']
_TEST_REQUIRES = ['pytest', 'pytest-flake8']
_ALL_PACKAGES = []
_ALL_PACKAGES.extend(_SETUP_REQUIRES)
_ALL_PACKAGES.extend(_TEST_REQUIRES)
if __name__ == '__main__':
setup(
name='implements',
description=_DESCRIPTION,
long_description=readme,
url='http://implements.readthedocs.io',
use_scm_version=True,
author=_AUTHORS,
maintainer='Kamil Sindi',
maintainer_email='[email protected]',
install_requires=_INSTALL_REQUIRES,
setup_requires=_SETUP_REQUIRES,
tests_require=_TEST_REQUIRES,
all_packages=_ALL_PACKAGES,
zip_safe=False,
include_package_data=True,
py_modules=['implements'],
classifiers=textwrap.dedent("""
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Natural Language :: English
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
""").strip().splitlines(),
keywords=['implements', 'interfaces'],
license='Apache License, Version 2.0',
)