Test Failed
Push — master ( da19c3...0a7779 )
by Fabio
03:06
created

setup.py (1 issue)

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
The variable __version__ does not seem to be defined.
Loading history...
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
    author='Fabio Caccamo',
30
    author_email='[email protected]',
31
    url='%s/%s' % (github_url, package_name, ),
32
    download_url='%s/%s/archive/%s.tar.gz' % (github_url, package_name, __version__, ),
33
    keywords=['codicefiscale', 'codice', 'fiscale', 'cf', 'fiscal code', ],
34
    install_requires=[
35
        'python-dateutil',
36
        'python-slugify',
37
    ],
38
    classifiers=[
39
        'Development Status :: 5 - Production/Stable',
40
        'Environment :: Web Environment',
41
        'Intended Audience :: Developers',
42
        'License :: OSI Approved :: MIT License',
43
        'Natural Language :: English',
44
        'Operating System :: OS Independent',
45
        'Programming Language :: Python :: 2',
46
        'Programming Language :: Python :: 2.7',
47
        'Programming Language :: Python :: 3',
48
        'Programming Language :: Python :: 3.4',
49
        'Programming Language :: Python :: 3.5',
50
        'Programming Language :: Python :: 3.6',
51
        'Programming Language :: Python :: 3.7',
52
        'Topic :: Software Development :: Build Tools',
53
    ],
54
    license='MIT',
55
    test_suite='tests'
56
)
57