| 1 |
import os |
| 2 |
from setuptools import setup, find_packages |
| 3 |
import radon |
| 4 |
|
| 5 |
|
| 6 |
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as fobj: |
| 7 |
readme = fobj.read() |
| 8 |
|
| 9 |
setup(name='radon', |
| 10 |
version=radon.__version__, |
| 11 |
author='Michele Lacchia', |
| 12 |
author_email='[email protected]', |
| 13 |
url='https://radon.readthedocs.org/', |
| 14 |
project_urls={ |
| 15 |
'Source': 'https://github.com/rubik/radon', |
| 16 |
}, |
| 17 |
download_url='https://pypi.python.org/radon/', |
| 18 |
license='MIT', |
| 19 |
description='Code Metrics in Python', |
| 20 |
platforms='any', |
| 21 |
long_description=readme, |
| 22 |
packages=find_packages(), |
| 23 |
tests_require=['tox'], |
| 24 |
install_requires=[ |
| •25 |
'mando>=0.6', |
| 26 |
'colorama==0.4.1;python_version<="3.4"', |
| 27 |
'colorama>=0.4.1;python_version>"3.4"', |
| 28 |
], |
| 29 |
extras_require={ |
| 30 |
'toml': ["tomli>=2.0.1"] |
| 31 |
}, |
| 32 |
entry_points={ |
| 33 |
'console_scripts': ['radon = radon:main'], |
| 34 |
'setuptools.installation': [ |
| 35 |
'eggsecutable = radon:main', |
| 36 |
], |
| 37 |
'flake8.extension': [ |
| 38 |
'R70 = radon.contrib.flake8:Flake8Checker', |
| 39 |
], |
| 40 |
}, |
| 41 |
keywords='static analysis code complexity metrics', |
| 42 |
classifiers=[ |
| 43 |
'Development Status :: 5 - Production/Stable', |
| 44 |
'Environment :: Console', |
| 45 |
'Intended Audience :: Developers', |
| 46 |
'License :: OSI Approved :: MIT License', |
| 47 |
'Operating System :: OS Independent', |
| 48 |
'Programming Language :: Python', |
| 49 |
'Programming Language :: Python :: 2', |
| 50 |
'Programming Language :: Python :: 2.7', |
| 51 |
'Programming Language :: Python :: 3', |
| 52 |
'Programming Language :: Python :: 3.6', |
| 53 |
'Programming Language :: Python :: 3.7', |
| 54 |
'Programming Language :: Python :: 3.8', |
| 55 |
'Programming Language :: Python :: 3.9', |
| 56 |
'Topic :: Software Development', |
| 57 |
'Topic :: Software Development :: Libraries :: Python Modules', |
| 58 |
'Topic :: Software Development :: Quality Assurance', |
| 59 |
'Topic :: Utilities', |
| 60 |
] |
| 61 |
) |