-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (36 loc) · 1.31 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
import sys
from setuptools import setup
version = "0.2.2"
if len(sys.argv) >= 3 and sys.argv[1] == "validate_tag":
if sys.argv[2] != version:
raise Exception(
f"A versão TAG [{sys.argv[2]}] é diferente da versão no arquivo setup.py [{version}]."
)
exit()
setup(
**{
"name": "dbf_reader",
"description": "Utils classes to read DBF files, specially DATASUS compressed DBF files",
"long_description": "Utils classes to read DBF files, specially DATASUS compressed DBF files, that a distributed without compliance with the specification",
"license": "MIT",
"author": "Kelson da Costa Medeiros",
"author_email": "[email protected]",
"packages": ["dbf_reader"],
"include_package_data": True,
"version": version,
"download_url": f"https://github.com/lais-huol/dbf_reader/releases/tag/{version}",
"url": "https://github.com/lais-huol/dbf_reader",
"keywords": [
"DBF",
"DBC",
"reader",
"datasus",
],
"python_requires": ">=3.8",
"classifiers": [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
}
)