-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (35 loc) · 1.3 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
from pathlib import Path
import setuptools
# Parse the requirements.txt file
with open("requirements.txt", "r") as f:
install_requires = f.read().splitlines()
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
about = {}
ROOT_DIR = Path(__file__).resolve().parent
PACKAGE_DIR = ROOT_DIR / "pydbsmgr"
with open(PACKAGE_DIR / "VERSION") as f:
_version = f.read().strip()
about["__version__"] = _version
setuptools.setup(
name="pydbsmgr",
version=about["__version__"],
author="J. A. Moreno-Guerra",
author_email="[email protected]",
maintainer="David Pedroza",
maintainer_email="[email protected]",
description="Python package for database control and DataFrame processing",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jzsmoreno/pydbsmgr",
project_urls={"Bug Tracker": "https://github.com/jzsmoreno/pydbsmgr"},
license="MIT",
packages=setuptools.find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
install_requires=install_requires,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.10",
)