From 80e51f033b07f4d65634c1c2565b94d992b8cba4 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 8 Apr 2018 17:25:09 +0200 Subject: [PATCH] Fix requirements in setup.py --- setup.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py index fb080ba..c66049e 100644 --- a/setup.py +++ b/setup.py @@ -110,10 +110,6 @@ def setup_package(): get_python_inc(plat_specific=True), os.path.join(root, 'include')] - # Read in requirements and split into packages and URLs - with open(os.path.join(root, 'requirements.txt')) as f: - requirements = [line.strip() for line in f] - if (ccompiler.new_compiler().compiler_type == 'msvc' and msvccompiler.get_build_version() == 9): include_dirs.append(os.path.join(root, 'include', 'msvc9')) @@ -140,7 +136,13 @@ def setup_package(): url=about['__uri__'], license=about['__license__'], ext_modules=ext_modules, - install_requires=requirements, + install_requires=[ + 'numpy>=1.7', + 'ujson>=1.35', + 'preshed>=1.0.0,<2.0.0', + 'murmurhash>=0.28,<0.29', + 'cymem>=1.30,<1.32' + ], classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console',