51 lines
1.3 KiB
Python
51 lines
1.3 KiB
Python
import re
|
|
from pathlib import Path
|
|
from setuptools import setup, find_packages
|
|
|
|
# extract version from mrds/__init__.py
|
|
here = Path(__file__).parent
|
|
init_py = here / "mrds" / "__init__.py"
|
|
_version = re.search(
|
|
r'^__version__\s*=\s*["\']([^"\']+)["\']', init_py.read_text(), re.MULTILINE
|
|
).group(1)
|
|
|
|
setup(
|
|
name="mrds",
|
|
version=_version,
|
|
packages=find_packages(),
|
|
install_requires=[
|
|
"click>=8.0.0,<9.0.0",
|
|
"oci>=2.129.3,<3.0.0",
|
|
"oracledb>=2.5.1,<3.0.0",
|
|
"PyYAML>=6.0.0,<7.0.0",
|
|
"lxml>=5.0.0,<5.3.0",
|
|
"xmlschema>=3.4.0,<3.4.3",
|
|
"cryptography>=3.3.1,<42.0.0",
|
|
"PyJWT>=2.0.0,<3.0.0",
|
|
"requests>=2.25.0,<3.0.0",
|
|
],
|
|
extras_require={
|
|
"dev": [
|
|
"black==24.10.0",
|
|
"tox==4.23.2",
|
|
"pytest==8.3.4",
|
|
],
|
|
},
|
|
entry_points={
|
|
"console_scripts": [
|
|
"mrds-cli=mrds.cli:cli_main",
|
|
],
|
|
},
|
|
author="",
|
|
author_email="",
|
|
description="MRDS module for MarS ETL POC",
|
|
long_description=open("README.md").read(),
|
|
long_description_content_type="text/markdown",
|
|
url="",
|
|
classifiers=[
|
|
"Programming Language :: Python :: 3",
|
|
"Operating System :: OS Independent",
|
|
],
|
|
python_requires=">=3.11",
|
|
)
|