mirror of
https://github.com/nfstream/nfstream.git
synced 2026-04-26 14:10:37 +00:00
attempt to fix build
This commit is contained in:
parent
53f154de4f
commit
8fa9ca13ca
3 changed files with 5 additions and 14 deletions
|
|
@ -1,8 +1,7 @@
|
|||
cffi>=1.15.0
|
||||
psutil>=5.8.0
|
||||
numpy>=1.19.5
|
||||
pandas>=1.1.5; platform.python_implementation == 'CPython'
|
||||
pandas<=1.2.5; platform.python_implementation == 'PyPy'
|
||||
pandas>=1.1.5
|
||||
dpkt>=1.9.7
|
||||
wheel>=0.37.0
|
||||
twine>=3.4.2
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
cffi>=1.15.0
|
||||
psutil>=5.8.0
|
||||
numpy>=1.19.5
|
||||
pandas>=1.1.5; platform.python_implementation == 'CPython'
|
||||
pandas<=1.2.5; platform.python_implementation == 'PyPy'
|
||||
pandas>=1.1.5
|
||||
dpkt>=1.9.7
|
||||
13
setup.py
13
setup.py
|
|
@ -21,20 +21,13 @@ import os
|
|||
|
||||
THIS_DIRECTORY = str(pathlib.Path(__file__).parent.resolve())
|
||||
|
||||
if (not sys.version_info[0] == 3) and (not sys.version_info[1] >= 6):
|
||||
sys.exit("Sorry, nfstream requires Python3.6+ versions.")
|
||||
if (not sys.version_info[0] == 3) and (not sys.version_info[1] >= 9):
|
||||
sys.exit("Sorry, nfstream requires Python3.9+ versions.")
|
||||
|
||||
with open(os.path.join(THIS_DIRECTORY, "README.md"), encoding="utf-8") as f:
|
||||
LONG_DESCRIPTION = f.read()
|
||||
|
||||
INSTALL_REQUIRES = ["cffi>=1.15.0", "psutil>=5.8.0", "dpkt>=1.9.7", "numpy>=1.19.5"]
|
||||
|
||||
if (
|
||||
platform.python_implementation() == "PyPy"
|
||||
): # This is mandatory to fix pandas issues with PyPy
|
||||
INSTALL_REQUIRES.append("pandas<=1.2.5")
|
||||
else:
|
||||
INSTALL_REQUIRES.append("pandas>=1.1.5")
|
||||
INSTALL_REQUIRES = ["cffi>=1.15.0", "psutil>=5.8.0", "dpkt>=1.9.7", "numpy>=1.19.5", "pandas>=1.1.5"]
|
||||
|
||||
|
||||
setup(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue