-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (50 loc) · 1.77 KB
/
setup.py
File metadata and controls
59 lines (50 loc) · 1.77 KB
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
# setup.py
import os
from setuptools import setup, find_packages
VERSION = "4.0.360"
DESCRIPTION = "Genera facturas CFDI válidas ante el SAT consumiendo el API de https://www.fiscalapi.com"
current_dir = os.path.abspath(os.path.dirname(__file__))
long_description_file = os.path.join(current_dir, "README.md")
if os.path.exists(long_description_file):
with open(long_description_file, encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
else:
LONG_DESCRIPTION = DESCRIPTION # fallback si no se encuentra README.md
setup(
name="fiscalapi",
version=VERSION,
author="Fiscalapi",
author_email="contacto@fiscalapi.com",
url="https://www.fiscalapi.com",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
# Licencia Pública de Mozilla
license="MPL-2.0",
packages=find_packages(
exclude=["tests", "*.tests", "*.tests.*", "tests.*"]
),
package_data={
"fiscalapi": ["py.typed"],
},
include_package_data=True,
keywords=["factura", "cfdi", "facturacion", "mexico", "sat", "fiscalapi"],
python_requires=">=3.9",
install_requires=[
"pydantic>=2.0.0",
"requests>=2.0.0",
"urllib3>=1.0.0",
"certifi>=2023.0.0",
"email_validator>=2.2.0",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business :: Financial",
],
)