-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
31 lines (24 loc) · 985 Bytes
/
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
#!/usr/bin/env python
import os
from importlib.util import module_from_spec, spec_from_file_location
from setuptools import find_packages, setup
_PATH_ROOT = os.path.dirname(__file__)
def _load_py_module(fname, pkg="private_ai_synthetic_data_generator"):
spec = spec_from_file_location(
os.path.join(pkg, fname), os.path.join(_PATH_ROOT, pkg, fname)
)
py = module_from_spec(spec)
spec.loader.exec_module(py)
return py
setup_tools = _load_py_module("setup_tools.py")
setup(
name="PrivateAI Synthetic Data Generation",
version="0.0.1",
description="⚡ Lightning component ⚡ Synthesize your data into a Private Data using PrivateAI",
author="anandh_perumal",
author_email="[email protected]",
url="https://github.com/anandhperumal3/private_ai_lightning_components",
install_requires=setup_tools._load_requirements(_PATH_ROOT),
packages=find_packages(exclude=["tests", "tests.*"]),
include_package_data=True,
)