-
Notifications
You must be signed in to change notification settings - Fork 96
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 #137 from pabloem/pycodestyle
Adding linter tests to continuous integration in Pykep
- Loading branch information
Showing
9 changed files
with
94 additions
and
24 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
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
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 |
---|---|---|
|
@@ -11,7 +11,15 @@ | |
AUTHOR = 'Dario Izzo' | ||
AUTHOR_EMAIL = '[email protected]' | ||
LICENSE = 'GPLv3+/LGPL3+' | ||
INSTALL_REQUIRES = ['numpy', 'scipy', 'matplotlib'] | ||
INSTALL_REQUIRES = [ | ||
'numba', | ||
'numpy', | ||
'matplotlib', | ||
'pygmo', | ||
'pygmo_plugins_nonfree', | ||
'scipy', | ||
'sklearn', | ||
] | ||
CLASSIFIERS = [ | ||
# How mature is this project? Common values are | ||
# 3 - Alpha | ||
|
@@ -43,8 +51,10 @@ def has_ext_modules(foo): | |
return True | ||
|
||
|
||
# Setup the list of external dlls. | ||
# Setup the list of external dlls and other data files. | ||
import os.path | ||
|
||
PYKEP_UTIL_FILES = ['gravity_models/*/*txt'] | ||
if os.name == 'nt': | ||
mingw_wheel_libs = 'mingw_wheel_libs_python{}{}.txt'.format( | ||
sys.version_info[0], sys.version_info[1]) | ||
|
@@ -54,14 +64,14 @@ def has_ext_modules(foo): | |
'pykep.core': ['core.pyd'] + DLL_LIST, | ||
'pykep.planet': ['planet.pyd'], | ||
'pykep.sims_flanagan': ['sims_flanagan.pyd'], | ||
'pykep.util': ['util.pyd'] | ||
'pykep.util': ['util.pyd'] + PYKEP_UTIL_FILES | ||
} | ||
else: | ||
PACKAGE_DATA = { | ||
'pykep.core': ['core.so'], | ||
'pykep.planet': ['planet.so'], | ||
'pykep.sims_flanagan': ['sims_flanagan.so'], | ||
'pykep.util': ['util.so'] | ||
'pykep.util': ['util.so'] + PYKEP_UTIL_FILES | ||
} | ||
|
||
setup(name=NAME, | ||
|