-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
27 lines (25 loc) · 1.26 KB
/
setup.py
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
from setuptools import setup, Extension, find_packages
minHash = Extension('_minHash',
include_dirs=['/usr/include/python2.7'],
libraries=['pthread','dl'],
extra_compile_args=['-w'],
sources=['src/_minHash.c','src/sqlite3.c'])
setup(name='prima',
version='1.0',
packages=find_packages(),
package_data={'':['*.txt','*.rst']},
description='Personal Research Management for the IA',
author='Erin Macdonald',
author_email='elmacdon@ualberta.ca',
url='https://github.com/U-Alberta/prima',
license='GNU AFFERO GENERAL PUBLIC LICENSE',
scripts=['tools/bm25.sh','src/bm25.py','tools/fetch_collection.sh',
'src/fetch_collection.py','tools/init_collection.sh',
'tools/init_project.sh','tools/init_workspace.sh',
'tools/k_means_clusterer.sh','src/k_means_clusterer.py',
'tools/lda.sh','src/lda.py','tools/lsi.sh','src/lsi.py',
'tools/min_hash.sh','src/min_hash.py','tools/min_hash_sim.sh',
'src/min_hash_sim.py','src/shared.py','src/tests.py',
'tools/tfidf.sh','src/tfidf.py','tools/word_count.sh',
'src/word_count.py'],
ext_modules=[minHash])