-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
52 lines (48 loc) · 1.93 KB
/
setup.py
File metadata and controls
52 lines (48 loc) · 1.93 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
40
41
42
43
44
45
46
47
48
49
50
51
52
import setuptools
# Use README.md for long description
try:
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
except FileNotFoundError:
long_description = "Official implementation of the ProVADA package for conditional protein variant design."
# Read dependencies from requirements.txt
try:
with open("requirements.txt", "r", encoding="utf-8") as f:
requirements = []
for line in f:
line = line.strip()
# Skip empty lines, comments, and pip flags (lines starting with -)
if line and not line.startswith("#") and not line.startswith("-"):
requirements.append(line)
except FileNotFoundError:
print("Warning: requirements.txt not found. Installing without dependencies.")
requirements = []
setuptools.setup(
# --- Project Metadata ---
name="provada",
version="2.0.0",
author="Sophia Lu, Ben Viggiano, Xiaowei Zhang",
author_email="sophialu@stanford.edu, viggiano@stanford.edu, zhangxw@stanford.edu",
description="Official implementation of the ProVADA package for conditional protein variant design.",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
# --- Project URLs ---
url="https://github.com/SUwonglab/provada",
project_urls={
"Homepage": "https://github.com/SUwonglab/provada",
"Bug Tracker": "https://github.com/SUwonglab/provada/issues",
"Publication": "https://www.biorxiv.org/content/10.1101/2025.07.11.664238v1",
},
# --- Build Configuration ---
packages=["provada"],
# --- Dependencies ---
python_requires=">=3.11",
install_requires=requirements, # Read from requirements.txt
# --- Classifiers for PyPI ---
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Bio-Informatics",
],
)