Skip to content

Commit 594f129

Browse files
author
vadim s
committed
Merge pull request #23 from seomoz/vadim/better-tooling
Better dev tooling
2 parents 7b5fab7 + e0f9a29 commit 594f129

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.PHONY: test
2+
3+
clean:
4+
sudo python setup.py clean
5+
rm simhash/table.cpp
6+
7+
install:
8+
sudo python setup.py install
9+
10+
uninstall:
11+
sudo pip uninstall simhash -y
12+
13+
test:
14+
python test/test.py
15+

provision.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Some dependencies
44
sudo apt-get update
55
sudo apt-get install -y libjudy-dev make g++ gdb git python-dev python-pip
6-
sudo pip install cython
6+
sudo pip install cython==0.22.1
77

88
(
99
cd /vagrant/

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
packages = ['simhash'],
2727
package_dir = {'simhash': 'simhash'},
2828
cmdclass = {'build_ext': build_ext},
29-
dependencies = [],
29+
install_requires = [],
3030
ext_modules = ext_modules,
3131
classifiers = [
3232
'Programming Language :: Python',

0 commit comments

Comments
 (0)