File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,11 @@ conda install tbb-devel
77```
882 . 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 ```
Original file line number Diff line number Diff line change 1- import pip
21from sysconfig import get_path
32from setuptools import setup , Extension
43
54PATH_PREFIX = get_path ('data' )
65module1 = 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' ],
22212322 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)
You can’t perform that action at this time.
0 commit comments