コード例 #1
0
ファイル: setup.py プロジェクト: rvanfleet/pbs
 def run(self):
     auto_create_version("cloudmesh_pbs", version)
     auto_create_requirements(requirements)
     os.system("make clean")
     os.system("python setup.py install")
     banner("Build Distribution")
     os.system("python setup.py sdist --format=bztar,zip upload")
    from cloudmesh_base.util import banner
except:
    os.system("pip install cloudmesh_base")

from cloudmesh_base.util import banner
from cloudmesh_base.util import path_expand
from cloudmesh_base.Shell import Shell
from cloudmesh_base.util import auto_create_version
from cloudmesh_base.util import auto_create_requirements

banner("Installing Cloudmesh " + package_name)

home = os.path.expanduser("~")

auto_create_version(package_name, version)
auto_create_requirements(requirements)


class UploadToPypi(install):
    """Upload the package to pypi."""
    def run(self):
        os.system("Make clean Install")
        os.system("python setup.py.in install")
        banner("Build Distribution")
        os.system("python setup.py.in sdist --format=bztar,zip upload")


class RegisterWithPypi(install):
    """Upload the package to pypi."""
    def run(self):
        banner("Register with Pypi")
コード例 #3
0
except:
    os.system("pip install cloudmesh_base")

from cloudmesh_base.util import banner
from cloudmesh_base.util import path_expand
from cloudmesh_base.Shell import Shell
from cloudmesh_base.util import auto_create_version
from cloudmesh_base.util import auto_create_requirements


banner("Installing Cloudmesh " + package_name)

home = os.path.expanduser("~")

auto_create_version(package_name, version)
auto_create_requirements(requirements)


class UploadToPypi(install):
    """Upload the package to pypi."""
    def run(self):
        os.system("Make clean Install")
        os.system("python setup.py.in install")
        banner("Build Distribution")
        os.system("python setup.py.in sdist --format=bztar,zip upload")


class RegisterWithPypi(install):
    """Upload the package to pypi."""
    def run(self):
        banner("Register with Pypi")
コード例 #4
0
ファイル: setup.py プロジェクト: rvanfleet/pbs
 def run(self):
     auto_create_version("cloudmesh_pbs", version)
     auto_create_requirements(requirements)
     banner("Install Cloudmesh Base")
     install.run(self)
コード例 #5
0
ファイル: setup.py プロジェクト: rvanfleet/pbs
 def run(self):
     auto_create_requirements(requirements)
コード例 #6
0
 def run(self):
     # auto_create_version("cloudmesh_pbs", version)
     auto_create_requirements(requirements)
     banner("Install Cloudmesh Doc Framework")
     install.run(self)