-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (29 loc) · 1.13 KB
/
setup.py
File metadata and controls
32 lines (29 loc) · 1.13 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
from setuptools import setup, find_packages
from pathlib import Path
# Get the current directory (where setup.py is)
HERE = Path(__file__).resolve().parent
# Read requirements.txt
def read_requirements(filepath):
"""Read the contents of requirements.txt"""
with open(HERE / filepath, 'r') as f:
return [line.strip() for line in f if line.strip() and not line.startswith('#')]
setup(
name="TabPFGen",
version="0.1.4",
description="Synthetic tabular data generation using energy-based modeling and TabPFN",
long_description=(HERE / "README.md").read_text(),
long_description_content_type="text/markdown",
author="Sebastian Haan",
url="https://github.com/sebhaan/TabPFGen",
package_dir={"": "src"},
packages=find_packages(where="src"),
install_requires=read_requirements("requirements.txt"),
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
include_package_data=True,
python_requires=">=3.10",
)