-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
executable file
·32 lines (27 loc) · 975 Bytes
/
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
#!/usr/bin/env python3
from setuptools import setup
with open("README.md", "r") as fp:
long_description = fp.read()
def parse_requirements(filename):
line_iter = (line.strip() for line in open(filename))
return [line for line in line_iter if line and not line.startswith("#")]
setup(
name="a38",
version="0.1.8",
description="parse and generate Italian Fattura Elettronica",
long_description=long_description,
long_description_content_type='text/markdown',
author="Enrico Zini",
author_email="[email protected]",
url="https://github.com/Truelite/python-a38/",
license="https://www.apache.org/licenses/LICENSE-2.0.html",
packages=["a38"],
scripts=["a38tool"],
install_requires=parse_requirements("requirements-lib.txt"),
test_requires=parse_requirements("requirements-lib.txt"),
extras_require={
"formatted_python": ["yapf"],
"html": ["lxml"],
"cacerts": ["requests"],
},
)