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