-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #159 from BD2KGenomics/features/update-s3am
Bump s3am and remove version pin (up to 2.0)
- Loading branch information
Showing
8 changed files
with
86 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,28 +4,28 @@ | |
|
||
from version import cgcloud_version, bd2k_python_lib_dep, boto_dep, fabric_dep | ||
|
||
setup( | ||
name='cgcloud-core', | ||
version=cgcloud_version, | ||
setup( name='cgcloud-core', | ||
version=cgcloud_version, | ||
|
||
author='Hannes Schmidt', | ||
author_email='[email protected]', | ||
url='https://github.com/BD2KGenomics/cgcloud', | ||
description='Efficient and reproducible software deployment for EC2 instances', | ||
author='Hannes Schmidt', | ||
author_email='[email protected]', | ||
url='https://github.com/BD2KGenomics/cgcloud', | ||
description='Efficient and reproducible software deployment for EC2 instances', | ||
|
||
package_dir={ '': 'src' }, | ||
packages=find_packages( 'src', exclude=[ '*.test' ] ), | ||
namespace_packages=[ 'cgcloud' ], | ||
entry_points={ | ||
'console_scripts': [ | ||
'cgcloud = cgcloud.core.cli:main' ], }, | ||
install_requires=[ | ||
bd2k_python_lib_dep, | ||
'cgcloud-lib==' + cgcloud_version, | ||
'futures==3.0.4', # such that cgcloud-lib can use the futures backport for its thread_pool | ||
boto_dep, | ||
fabric_dep, | ||
'futures==3.0.4', | ||
'PyYAML==3.11', | ||
'subprocess32==3.2.7' ], | ||
test_suite='cgcloud.core.test' ) | ||
package_dir={ '': 'src' }, | ||
packages=find_packages( 'src', exclude=[ '*.test' ] ), | ||
namespace_packages=[ 'cgcloud' ], | ||
entry_points={ | ||
'console_scripts': [ | ||
'cgcloud = cgcloud.core.cli:main' ], }, | ||
install_requires=[ bd2k_python_lib_dep, | ||
'cgcloud-lib==' + cgcloud_version, | ||
'futures==3.0.4', | ||
# such that cgcloud-lib can use the futures backport for its thread_pool | ||
boto_dep, | ||
fabric_dep, | ||
'paramiko==1.16.0', | ||
'futures==3.0.4', | ||
'PyYAML==3.11', | ||
'subprocess32==3.2.7' ], | ||
test_suite='cgcloud.core.test' ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,19 +4,17 @@ | |
|
||
from version import cgcloud_version, fabric_dep | ||
|
||
setup( | ||
name='cgcloud-jenkins', | ||
version=cgcloud_version, | ||
setup( name='cgcloud-jenkins', | ||
version=cgcloud_version, | ||
|
||
author="Hannes Schmidt", | ||
author_email="[email protected]", | ||
url='https://github.com/BD2KGenomics/cgcloud', | ||
description='Setup and manage a Jenkins continuous integration cluster in EC2', | ||
author="Hannes Schmidt", | ||
author_email="[email protected]", | ||
url='https://github.com/BD2KGenomics/cgcloud', | ||
description='Setup and manage a Jenkins continuous integration cluster in EC2', | ||
|
||
package_dir={ '': 'src' }, | ||
packages=find_packages( 'src' ), | ||
namespace_packages=[ 'cgcloud' ], | ||
install_requires=[ | ||
'cgcloud-lib==' + cgcloud_version, | ||
'cgcloud-core==' + cgcloud_version, | ||
fabric_dep ] ) | ||
package_dir={ '': 'src' }, | ||
packages=find_packages( 'src' ), | ||
namespace_packages=[ 'cgcloud' ], | ||
install_requires=[ 'cgcloud-lib==' + cgcloud_version, | ||
'cgcloud-core==' + cgcloud_version, | ||
fabric_dep ] ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,20 +4,18 @@ | |
|
||
from version import cgcloud_version, bd2k_python_lib_dep, fabric_dep | ||
|
||
setup( | ||
name='cgcloud-mesos', | ||
version=cgcloud_version, | ||
setup( name='cgcloud-mesos', | ||
version=cgcloud_version, | ||
|
||
author='Christopher Ketchum', | ||
author_email='[email protected]', | ||
url='https://github.com/BD2KGenomics/cgcloud', | ||
description='Setup and manage a Apache Mesos cluster in EC2', | ||
author='Christopher Ketchum', | ||
author_email='[email protected]', | ||
url='https://github.com/BD2KGenomics/cgcloud', | ||
description='Setup and manage a Apache Mesos cluster in EC2', | ||
|
||
package_dir={ '': 'src' }, | ||
packages=find_packages( 'src' ), | ||
namespace_packages=[ 'cgcloud' ], | ||
install_requires=[ | ||
'cgcloud-lib==' + cgcloud_version, | ||
'cgcloud-core==' + cgcloud_version, | ||
bd2k_python_lib_dep, | ||
fabric_dep ] ) | ||
package_dir={ '': 'src' }, | ||
packages=find_packages( 'src' ), | ||
namespace_packages=[ 'cgcloud' ], | ||
install_requires=[ 'cgcloud-lib==' + cgcloud_version, | ||
'cgcloud-core==' + cgcloud_version, | ||
bd2k_python_lib_dep, | ||
fabric_dep ] ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,20 +4,18 @@ | |
|
||
from version import cgcloud_version, bd2k_python_lib_dep, fabric_dep | ||
|
||
setup( | ||
name='cgcloud-spark', | ||
version=cgcloud_version, | ||
setup( name='cgcloud-spark', | ||
version=cgcloud_version, | ||
|
||
author='Hannes Schmidt', | ||
author_email='[email protected]', | ||
url='https://github.com/BD2KGenomics/cgcloud', | ||
description='Setup and manage a Apache Spark cluster in EC2', | ||
author='Hannes Schmidt', | ||
author_email='[email protected]', | ||
url='https://github.com/BD2KGenomics/cgcloud', | ||
description='Setup and manage a Apache Spark cluster in EC2', | ||
|
||
package_dir={ '': 'src' }, | ||
packages=find_packages( 'src' ), | ||
namespace_packages=[ 'cgcloud' ], | ||
install_requires=[ | ||
bd2k_python_lib_dep, | ||
'cgcloud-lib==' + cgcloud_version, | ||
'cgcloud-core==' + cgcloud_version, | ||
fabric_dep ] ) | ||
package_dir={ '': 'src' }, | ||
packages=find_packages( 'src' ), | ||
namespace_packages=[ 'cgcloud' ], | ||
install_requires=[ bd2k_python_lib_dep, | ||
'cgcloud-lib==' + cgcloud_version, | ||
'cgcloud-core==' + cgcloud_version, | ||
fabric_dep ] ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,21 +2,19 @@ | |
from setuptools import setup, find_packages | ||
from version import cgcloud_version, bd2k_python_lib_dep, fabric_dep | ||
|
||
setup( | ||
name='cgcloud-toil', | ||
version=cgcloud_version, | ||
setup( name='cgcloud-toil', | ||
version=cgcloud_version, | ||
|
||
author='Christopher Ketchum', | ||
author_email='[email protected]', | ||
url='https://github.com/BD2KGenomics/cgcloud', | ||
description='Setup and manage a toil and Apache Mesos cluster in EC2', | ||
author='Christopher Ketchum', | ||
author_email='[email protected]', | ||
url='https://github.com/BD2KGenomics/cgcloud', | ||
description='Setup and manage a toil and Apache Mesos cluster in EC2', | ||
|
||
package_dir={ '': 'src' }, | ||
packages=find_packages( 'src' ), | ||
namespace_packages=[ 'cgcloud' ], | ||
install_requires=[ | ||
'cgcloud-lib==' + cgcloud_version, | ||
'cgcloud-core==' + cgcloud_version, | ||
'cgcloud-mesos==' + cgcloud_version, | ||
bd2k_python_lib_dep, | ||
fabric_dep ] ) | ||
package_dir={ '': 'src' }, | ||
packages=find_packages( 'src' ), | ||
namespace_packages=[ 'cgcloud' ], | ||
install_requires=[ 'cgcloud-lib==' + cgcloud_version, | ||
'cgcloud-core==' + cgcloud_version, | ||
'cgcloud-mesos==' + cgcloud_version, | ||
bd2k_python_lib_dep, | ||
fabric_dep ] ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
cgcloud_version = '1.4a1' | ||
bd2k_python_lib_dep = 'bd2k-python-lib>=1.11.dev6' | ||
boto_dep = 'boto==2.38.0' | ||
fabric_dep = 'Fabric==1.10.2' | ||
fabric_dep = 'Fabric==1.10.3' | ||
s3am_dep = 's3am>=2.0a1.dev99,<2.1' | ||
|
||
if __name__ == '__main__': | ||
import os | ||
from pkg_resources import parse_version | ||
is_release_build = not parse_version(cgcloud_version).is_prerelease | ||
|
||
is_release_build = not parse_version( cgcloud_version ).is_prerelease | ||
suffix = '' if is_release_build else '.dev' + os.environ.get( 'BUILD_NUMBER', '0' ) | ||
for name, value in globals().items(): | ||
if name.startswith('cgcloud_'): | ||
for name, value in globals( ).items( ): | ||
if name.startswith( 'cgcloud_' ): | ||
value += suffix | ||
if name.endswith('_dep') or name.endswith('_version'): | ||
print "%s='%s'" % ( name, value ) | ||
if name.split('_')[-1] in ('dep', 'version' ): | ||
print "%s='%s'" % (name, value) |