forked from ggravlingen/pyesef
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (33 loc) · 1.13 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
#!/usr/bin/env python3
"""Set up pyesef."""
from pathlib import Path
from setuptools import find_packages, setup
PROJECT_DIR = Path(__file__).parent.resolve()
README_FILE = PROJECT_DIR / "README.md"
LONG_DESCRIPTION = README_FILE.read_text(encoding="utf-8")
VERSION = (PROJECT_DIR / "pyesef" / "VERSION").read_text().strip()
GITHUB_URL = "https://github.com/ggravlingen/pyesef"
DOWNLOAD_URL = f"{GITHUB_URL}/archive/{VERSION}.zip"
PACKAGES = find_packages(exclude=["tests", "tests.*"])
setup(
name="pyesef",
packages=PACKAGES,
python_requires=">=3.10",
version=VERSION,
long_description=LONG_DESCRIPTION,
author="ggravlingen",
author_email="[email protected]",
long_description_content_type="text/markdown",
url=GITHUB_URL,
package_data={"pyesef": ["py.typed"]},
include_package_data=True,
license="MIT",
keywords="esef financial statement",
download_url=DOWNLOAD_URL,
classifiers=[
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Intended Audience :: Financial and Insurance Industry",
],
)