-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
29 lines (23 loc) · 716 Bytes
/
setup.py
File metadata and controls
29 lines (23 loc) · 716 Bytes
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
"""Setup script for the mgd (molecular-graph-diffusion) package."""
from pathlib import Path
from setuptools import find_packages, setup
def read_requirements() -> list[str]:
reqs_path = Path("requirements.txt")
if not reqs_path.exists():
return []
return [
line.strip()
for line in reqs_path.read_text().splitlines()
if line.strip() and not line.strip().startswith("#")
]
setup(
name="mgd",
version="0.0.1",
description="Molecular graph diffusion models in Flax.",
author="",
packages=find_packages("src"),
package_dir={"": "src"},
python_requires=">=3.10",
install_requires=read_requirements(),
include_package_data=True,
)