Ich versuche, eine Bibliothek zu erstellen, die mit Pip verteilt wird.Konnte keine Version finden, die die Anforderung erfüllt
sudo python setup.py sdist upload -r pypitest
, wenn ich versuche, es zu installieren mit
sudo pip install -i https://testpypi.python.org/pypi abce
Es scheitert mit
konnte keine Version finden, die die Anforderung Pandas> = 0,17 (von abce) erfüllt (von Versionen :) Keine passende Verteilung gefunden für Pandas> = 0.17 (ab abce)
Ich habe keinen Tag versucht, aber ich kann es nicht funktionieren lassen. Wenn ich Pandas mit pip install pandas
installiere, installiert es die Version 0.18.1. Was mache ich falsch?
Die setup.py ist folgende:
#!/usr/bin/env python
import os
try:
from setuptools import setup
from setuptools import Extension
except ImportError:
from distutils.core import setup
from distutils.extension import Extension
cmdclass = { }
ext_modules = [ ]
try:
from Cython.Distutils import build_ext
ext_modules += [
Extension("abce.trade", [ "abce/trade.pyx" ]),
]
cmdclass.update({ 'build_ext': build_ext })
except ImportError:
ext_modules += [
Extension("abce.trade", [ "abce/trade.c" ]),
]
setup(name='abce',
version='0.5.07b',
author='Davoud Taghawi-Nejad',
author_email='[email protected]',
description='Agent-Based Complete Economy modelling platform',
url='https://github.com/DavoudTaghawiNejad/abce.git',
package_dir={'abce': 'abce'},
packages=['abce'],
long_description=open('README.rst').read(),
install_requires=['numpy>=1.9',
'pandas>=0.17',
'networkx>=1.9',
'flask>=0.10',
'bokeh>=0.11',
'matplotlib>=1.3'],
include_package_data=True,
ext_modules=ext_modules,
cmdclass=cmdclass)