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