-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (36 loc) · 1.26 KB
/
setup.py
File metadata and controls
39 lines (36 loc) · 1.26 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
from setuptools import setup, find_packages
# Read version from package
with open("src/schema_mapper/__init__.py", "r") as f:
for line in f:
if line.startswith("__version__"):
version = line.split("=")[1].strip().strip('"').strip("'")
break
# Read requirements
with open("requirements.txt", "r") as f:
requirements = f.read().splitlines()
setup(
name="schema-mapper",
version=version,
description="AI-powered tool to map Identity Provider (IDP) API schemas",
author="Schema Mapper Team",
author_email="info@example.com",
url="https://github.com/example/schema-mapper",
packages=find_packages(where="src"),
package_dir={"": "src"},
install_requires=requirements,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
entry_points={
"console_scripts": [
"schema-mapper=schema_mapper.cli.main:main",
],
},
python_requires=">=3.8",
)