2016-10-04 5 views
0

Ich habe ein Paket erstellt, das in einer Anwendung verwendet wird, die auf bluemix bereitgestellt wird. Ich habe das Paket mit setup.py erstellt. Wie kann ich dieses Paket auf bluemix verwenden, ohne es auf PyPI zu registrieren (es ist nur für den lokalen Gebrauch). Dies ist die setup.py-DateiVerwendung des lokalen Python-Pakets in bluemix

import os 
from setuptools import setup 

def read(fname): 
    return open(os.path.join(os.path.dirname(__file__), fname)).read() 

setup(
    name = "models", 
    version = "0.0.1", 
    author = "Arush Goyal", 
    author_email = "[email protected]", 
    description = ("Models for complaintResolution"), 
    license = "BSD", 
    keywords = "model complaintResolution", 
    packages=['models', 'tests'], 
    long_description=read('Readme.md'), 
    classifiers=[ 
     "Development Status :: 3 - Alpha", 
     "Topic :: Utilities", 
     "License :: OSI Approved :: BSD License", 
    ], 
) 

Antwort

Verwandte Themen