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