init
This commit is contained in:
50
python/mrds_common/setup.py
Normal file
50
python/mrds_common/setup.py
Normal file
@@ -0,0 +1,50 @@
|
||||
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",
|
||||
)
|
||||
Reference in New Issue
Block a user