fabiocaccamo /
python-codicefiscale
| 1 | #!/usr/bin/env python |
||
| 2 | # -*- coding: utf-8 -*- |
||
| 3 | |||
| 4 | from setuptools import find_packages, setup |
||
| 5 | |||
| 6 | import os |
||
| 7 | |||
| 8 | exec(open('codicefiscale/version.py').read()) |
||
| 9 | |||
| 10 | github_url = 'https://github.com/fabiocaccamo' |
||
| 11 | package_name = 'python-codicefiscale' |
||
| 12 | package_url = '{}/{}'.format(github_url, package_name) |
||
| 13 | package_path = os.path.abspath(os.path.dirname(__file__)) |
||
| 14 | long_description_file_path = os.path.join(package_path, 'README.md') |
||
| 15 | long_description_content_type = 'text/markdown' |
||
| 16 | long_description = '' |
||
| 17 | try: |
||
| 18 | with open(long_description_file_path) as f: |
||
| 19 | long_description = f.read() |
||
| 20 | except IOError: |
||
| 21 | pass |
||
| 22 | |||
| 23 | setup( |
||
| 24 | name=package_name, |
||
| 25 | packages=find_packages(exclude=['contrib', 'docs', 'tests*']), |
||
| 26 | include_package_data=True, |
||
| 27 | version=__version__, |
||
|
0 ignored issues
–
show
Comprehensibility
Best Practice
introduced
by
Loading history...
|
|||
| 28 | description='python-codicefiscale is a tiny library for encode/decode Italian fiscal code - codifica/decodifica del Codice Fiscale.', |
||
| 29 | long_description=long_description, |
||
| 30 | long_description_content_type=long_description_content_type, |
||
| 31 | author='Fabio Caccamo', |
||
| 32 | author_email='[email protected]', |
||
| 33 | url=package_url, |
||
| 34 | download_url='{}/archive/{}.tar.gz'.format(package_url, __version__), |
||
| 35 | keywords=['codicefiscale', 'codice', 'fiscale', 'cf', 'fiscal code', ], |
||
| 36 | install_requires=[ |
||
| 37 | 'python-dateutil', |
||
| 38 | 'python-slugify', |
||
| 39 | ], |
||
| 40 | tests_require=[ |
||
| 41 | ], |
||
| 42 | classifiers=[ |
||
| 43 | 'Development Status :: 5 - Production/Stable', |
||
| 44 | 'Environment :: Web Environment', |
||
| 45 | 'Intended Audience :: Developers', |
||
| 46 | 'License :: OSI Approved :: MIT License', |
||
| 47 | 'Natural Language :: English', |
||
| 48 | 'Operating System :: OS Independent', |
||
| 49 | 'Programming Language :: Python :: 2', |
||
| 50 | 'Programming Language :: Python :: 2.7', |
||
| 51 | 'Programming Language :: Python :: 3', |
||
| 52 | 'Programming Language :: Python :: 3.4', |
||
| 53 | 'Programming Language :: Python :: 3.5', |
||
| 54 | 'Programming Language :: Python :: 3.6', |
||
| 55 | 'Programming Language :: Python :: 3.7', |
||
| 56 | 'Programming Language :: Python :: 3.8', |
||
| 57 | 'Programming Language :: Python :: 3.9', |
||
| 58 | 'Topic :: Software Development :: Build Tools', |
||
| 59 | ], |
||
| 60 | license='MIT', |
||
| 61 | test_suite='tests' |
||
| 62 | ) |
||
| 63 |