Skip to content

Commit f93d772

Browse files
committed
Added setup.py, moved stuff for installing
1 parent cd6af30 commit f93d772

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed
File renamed without changes.
File renamed without changes.

hashpy/Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ SRC= $(addprefix src/, $(SRCF))
1212
hashpy: libhashpy.so
1313

1414
libhashpy.so: Makefile $(SRC)
15-
f2py -c -m libhashpy $(SRC)
16-
15+
f2py -c -m libhashpy $(SRC)
16+
1717
.PHONY : install
1818
install : libhashpy.so
19+
python setup.py install
1920

hashpy/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
# first motion focal mechanisms
55

66
from hashpype import HashPype
7+
from libhashpy import *

setup.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
from distutils.core import setup
44

5-
setup(name='AUG contrib',
5+
setup(name='HASHpy',
66
version='1.0',
7-
description='Antelope Users Contributed Modules',
7+
description='Routines for running HASH algorithms',
88
author='Mark Williams',
9-
url='https//github.com/NVSeismoLab',
10-
packages=['aug','aug.contrib',
11-
'aug.contrib.orm'],
9+
url='https//github.com/markcwill',
10+
packages=['hashpy'],
11+
package_data={'hashpy':['libhashpy.so','Makefile','data/*', 'src/*.f']},
1212
)
1313

1414

0 commit comments

Comments
 (0)