2016-10-04 19 views
0

我已經創建了包,該包將用於將部署到bluemix的應用程序。我已使用setup.py創建了該軟件包。我如何在沒有在PyPI上註冊的情況下在bluemix上使用這個軟件包(僅用於本地使用)。這是setup.py文件在bluemix中使用本地python包

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", 
    ], 
) 

回答

相關問題