Skip to content

Commit 29e82a0

Browse files
committed
update setup
1 parent c59d5da commit 29e82a0

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@ conda install tbb-devel
77
```
88
2. If using python wrapper (Todo: automate pip installation)
99

10-
a. Using pip:
10+
a. Using pip (use the lightweight source code w/o data/notebooks):
1111
```
12+
wget "https://github.com/PreferredAI/pcatt/archive/refs/tags/v0.10.tar.gz"
13+
unzip pcatt-0.10.zip -d pcatt
14+
cd pcatt
1215
pip install -r requirements.txt
1316
pip install .
1417
```

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
import pip
21
from sysconfig import get_path
32
from setuptools import setup, Extension
43

54
PATH_PREFIX = get_path('data')
65
module1 = Extension(f'greedy_builder',
76
extra_compile_args = ["-O3", "-std=c++20"],
87
define_macros = [('MAJOR_VERSION', '0'),
9-
('MINOR_VERSION', '1')],
8+
('MINOR_VERSION', '10')],
109
include_dirs = [f'{PATH_PREFIX}/include/',
1110
f'{PATH_PREFIX}/include/tbb',
1211
f'{PATH_PREFIX}/include/oneapi'],
@@ -22,5 +21,7 @@
2221
author_email="[email protected]",
2322
license = "MIT",
2423
setup_requires=['pybind11', 'tbb-devel'],
24+
url = "https://github.com/PreferredAI/pcatt/",
25+
download_url = "https://github.com/PreferredAI/pcatt/archive/refs/tags/v0.10.tar.gz",
2526
ext_modules = [module1]
2627
)

0 commit comments

Comments
 (0)