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
![]() |
|||
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 | 'packaging', |
||
42 | ], |
||
43 | classifiers=[ |
||
44 | 'Development Status :: 5 - Production/Stable', |
||
45 | 'Environment :: Web Environment', |
||
46 | 'Intended Audience :: Developers', |
||
47 | 'License :: OSI Approved :: MIT License', |
||
48 | 'Natural Language :: English', |
||
49 | 'Operating System :: OS Independent', |
||
50 | 'Programming Language :: Python :: 2', |
||
51 | 'Programming Language :: Python :: 2.7', |
||
52 | 'Programming Language :: Python :: 3', |
||
53 | 'Programming Language :: Python :: 3.4', |
||
54 | 'Programming Language :: Python :: 3.5', |
||
55 | 'Programming Language :: Python :: 3.6', |
||
56 | 'Programming Language :: Python :: 3.7', |
||
57 | 'Programming Language :: Python :: 3.8', |
||
58 | 'Topic :: Software Development :: Build Tools', |
||
59 | ], |
||
60 | license='MIT', |
||
61 | test_suite='tests' |
||
62 | ) |
||
63 |