Passed
Push — master ( 46b660...13d06d )
by Fabio
04:26 queued 15s
created

setup.py (1 issue)

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