Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
pymolfile
Commits
3f2c289c
Commit
3f2c289c
authored
Oct 24, 2017
by
Berk Onat
Browse files
Added missing Python packages in setup.py
parent
b262b7bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
3f2c289c
#!/usr/bin/env python
import
os
import
sysconfig
import
re
import
sys
import
sysconfig
import
platform
import
subprocess
try
:
from
distutils.version
import
LooseVersion
from
setuptools.command.build_ext
import
build_ext
from
setuptools
import
setup
,
Extension
,
Command
,
find_packages
from
Cython.Build
import
cythonize
from
Cython.Distutils
import
build_ext
#
from Cython.Build import cythonize
#
from Cython.Distutils import build_ext
except
:
from
distutils.version
import
LooseVersion
from
distutils.command.build_ext
import
build_ext
from
distutils
import
setup
,
Extension
,
Command
,
find_packages
from
Cython.Build
import
cythonize
from
Cython.Distutils
import
build_ext
#
from Cython.Build import cythonize
#
from Cython.Distutils import build_ext
# from http://www.benjack.io/2017/06/12/python-cpp-tests.html
class
CMakeExtension
(
Extension
):
...
...
@@ -192,7 +197,7 @@ if __name__ == '__main__':
libraries
=
[
'netcdf'
,
'tng_io'
,
'expat'
],
include_dirs
=
[
get_numpy_include
(),
get_cmake_includes
(),
#
get_cmake_includes(),
'pymolfile/molfile'
,
'pymolfile/molfile/molfile_plugins/include'
,
'pymolfile/molfile/molfile_plugins/molfile_plugin/include'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment