Skip to content

Commit

Permalink
Fix python install (#1733)
Browse files Browse the repository at this point in the history
* Don't import Cython directly before doing a fail-safe import of the same module

* Add install requirements to Python setup script
  • Loading branch information
kbevers authored and hobu committed Nov 27, 2017
1 parent 4f595c2 commit a61011d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/setup.py
Expand Up @@ -16,7 +16,6 @@
import platform
import sys
import numpy
from Cython.Build import cythonize

USE_CYTHON = True
try:
Expand Down Expand Up @@ -190,6 +189,7 @@ def get_pdal_config(option):
'Topic :: Scientific/Engineering :: GIS',
],
cmdclass = {},
install_requires = ['numpy', 'packaging'],
)
setup(ext_modules=extensions, **setup_args)

0 comments on commit a61011d

Please sign in to comment.