Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move tools to the root of the project
- Loading branch information
Showing
5 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,4 @@ build | |
# *.egg-info | ||
# *.egg | ||
|
||
*.sh | ||
*scratch* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
rm *.o | ||
rm src/LetsBeRational_wrap.c | ||
rm lets_be_rational/LetsBeRational.py | ||
rm lets_be_rational/*.pyc | ||
rm lets_be_rational/*.so | ||
rm lets_be_rational/*.pyd | ||
rm -rf build | ||
rm -rf dist | ||
rm -rf *.egg* |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
swig -python -outdir lets_be_rational src/LetsBeRational.i | ||
gcc -c src/erf_cody.cpp src/rationalcubic.cpp src/normaldistribution.cpp src/LetsBeRational.cpp src/LetsBeRational_wrap.c -I/usr/include/python2.7 | ||
ld -shared *.o -o lets_be_rational/_LetsBeRational.so | ||
rm *.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
swig -python -outdir lets_be_rational src/LetsBeRational.i | ||
gcc -c -arch x86_64 -fPIC src/erf_cody.cpp src/rationalcubic.cpp src/normaldistribution.cpp src/LetsBeRational.cpp src/LetsBeRational_wrap.c -I/usr/include/python2.7 | ||
ld -bundle -macosx_version_min 10.7 -flat_namespace -undefined suppress -o lets_be_rational/_LetsBeRational.so *.o | ||
rm *.o |