forked from prody/ProDy
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request prody#1869 from jamesmkrieger/hpb
fix setup.py to copy hpb
- Loading branch information
Showing
4 changed files
with
47 additions
and
10 deletions.
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
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
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
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 |
---|---|---|
|
@@ -7,6 +7,8 @@ | |
from setuptools import setup | ||
from setuptools import Extension | ||
|
||
import shutil | ||
|
||
if sys.version_info[:2] < (2, 7): | ||
sys.stderr.write('Python 2.6 and older is not supported\n') | ||
sys.exit() | ||
|
@@ -94,7 +96,15 @@ | |
|
||
from glob import glob | ||
tntDir = join('prody', 'utilities', 'tnt') | ||
hpbDir = join('prody', 'proteins', 'hpbmodule') | ||
hpbSoDir = join('prody', 'proteins', 'hpbmodule', | ||
'hpb_Python{0}.{1}'.format(sys.version_info[0], | ||
sys.version_info[1])) | ||
proteinsDir = join('prody', 'proteins') | ||
|
||
try: | ||
shutil.copy(hpbSoDir + "/hpb.so", proteinsDir) | ||
except FileNotFoundError: | ||
pass | ||
|
||
EXTENSIONS = [ | ||
Extension('prody.dynamics.rtbtools', | ||
|
@@ -164,8 +174,8 @@ | |
setup( | ||
name='ProDy', | ||
version=__version__, | ||
author='James Krieger, She Zhang, Hongchun Li, Cihan Kaya, Ahmet Bakan, and others', | ||
author_email='[email protected]', | ||
author='James Krieger, Karolina Mikulska-Ruminska, She Zhang, Hongchun Li, Cihan Kaya, Ahmet Bakan, and others', | ||
author_email='[email protected]', | ||
description='A Python Package for Protein Dynamics Analysis', | ||
long_description=long_description, | ||
url='http://www.csb.pitt.edu/ProDy', | ||
|