Suchergebnisse für Anfrage "install-requires"

3 die antwort

python setuptools install_requires wird beim Überschreiben von cmdclass ignoriert

Ich habe einsetup.py das sieht so aus: from setuptools import setup from subprocess import call from setuptools.command.install import install class MyInstall(install): def run(self): call(["pip install -r requirements.txt --no-clean"], ...

2 die antwort

install_requires basiert auf der Python-Version

Ich habe ein Modul, das sowohl auf Python 2 als auch auf Python 3 funktioniert. In Python <3.2 möchte ich ein bestimmtes Paket als Abhängigkeit installieren. Für Python> = 3.2. So etwas wie: install_requires=[ "threadpool >= 1.2.7 if ...

TOP-Veröffentlichungen