Skip to content

Commit

Permalink
Merge pull request #364 from girder/clean-up-girder-3
Browse files Browse the repository at this point in the history
Clean up build process involving Girder 3 branch.
  • Loading branch information
manthey authored Aug 28, 2019
2 parents f346b1f + b5e2a78 commit 4d048c0
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 36 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,4 @@ workflows:
tags:
only: /^v.*/
branches:
only: girder-3
# Change to master branch when girder-3 becomes the master
only: master
10 changes: 5 additions & 5 deletions girder/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand All @@ -42,10 +42,10 @@ def prerelease_local_scheme(version):
install_requires=[
'enum34>=1.1.6;python_version<"3.4"',
'futures;python_version<"3.4"',
'girder>=3.0.0a2',
'girder-jobs>=3.0.0a2',
'girder-worker[girder]>=0.5.1.dev213',
'large_image>=1.0.0.dev0',
'girder>=3.0.3',
'girder-jobs>=3.0.3',
'girder-worker[girder]>=0.6.0',
'large_image>=1.0.0',
],
extras_require={
'tasks': [
Expand Down
4 changes: 2 additions & 2 deletions girder_annotation/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand All @@ -41,7 +41,7 @@ def prerelease_local_scheme(version):
],
install_requires=[
'jsonschema>=2.5.1',
'girder-large-image>=1.0.0.dev0',
'girder-large-image>=1.0.0',
'ujson>=1.35',
],
extras_require={
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Top level dependencies
girder>=3.0.0a5
girder-jobs>=3.0.0a5
girder>=3.0.3
girder-jobs>=3.0.3
-e sources/dummy
-e sources/mapnik
-e sources/openslide
Expand All @@ -24,7 +24,7 @@ flake8-docstrings
flake8-quotes
pytest>=3.6
pytest-cov==2.5
pytest-girder>=3.0.0a5
pytest-girder>=3.0.3
pytest-xdist
mock
tox
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand Down
4 changes: 2 additions & 2 deletions sources/dummy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand All @@ -41,7 +41,7 @@ def prerelease_local_scheme(version):
'Programming Language :: Python :: 3.7'
],
install_requires=[
'large-image>=1.0.0.dev0',
'large-image>=1.0.0',
],
license='Apache Software License 2.0',
keywords='large_image, tile source',
Expand Down
6 changes: 3 additions & 3 deletions sources/mapnik/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand All @@ -41,14 +41,14 @@ def prerelease_local_scheme(version):
'Programming Language :: Python :: 3.7'
],
install_requires=[
'large-image>=1.0.0.dev0',
'large-image>=1.0.0',
'gdal',
'mapnik',
'palettable',
'pyproj>=2.0.0',
],
extras_require={
'girder': 'girder-large-image>=1.0.0.dev0',
'girder': 'girder-large-image>=1.0.0',
},
license='Apache Software License 2.0',
keywords='large_image, tile source',
Expand Down
8 changes: 4 additions & 4 deletions sources/ometiff/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand All @@ -41,11 +41,11 @@ def prerelease_local_scheme(version):
'Programming Language :: Python :: 3.7'
],
install_requires=[
'large-image>=1.0.0.dev0',
'large-image-source-tiff>=1.0.0.dev0',
'large-image>=1.0.0',
'large-image-source-tiff>=1.0.0',
],
extras_require={
'girder': 'girder-large-image>=1.0.0.dev0',
'girder': 'girder-large-image>=1.0.0',
},
license='Apache Software License 2.0',
keywords='large_image, tile source',
Expand Down
6 changes: 3 additions & 3 deletions sources/openslide/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand All @@ -41,11 +41,11 @@ def prerelease_local_scheme(version):
'Programming Language :: Python :: 3.7'
],
install_requires=[
'large-image>=1.0.0.dev0',
'large-image>=1.0.0',
'openslide-python>=1.1.0',
],
extras_require={
'girder': 'girder-large-image>=1.0.0.dev0',
'girder': 'girder-large-image>=1.0.0',
},
license='Apache Software License 2.0',
keywords='large_image, tile source',
Expand Down
6 changes: 3 additions & 3 deletions sources/pil/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand All @@ -41,10 +41,10 @@ def prerelease_local_scheme(version):
'Programming Language :: Python :: 3.7'
],
install_requires=[
'large-image>=1.0.0.dev0',
'large-image>=1.0.0',
],
extras_require={
'girder': 'girder-large-image>=1.0.0.dev0',
'girder': 'girder-large-image>=1.0.0',
},
license='Apache Software License 2.0',
keywords='large_image, tile source',
Expand Down
4 changes: 2 additions & 2 deletions sources/test/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand All @@ -41,7 +41,7 @@ def prerelease_local_scheme(version):
'Programming Language :: Python :: 3.7'
],
install_requires=[
'large-image>=1.0.0.dev0',
'large-image>=1.0.0',
],
license='Apache Software License 2.0',
keywords='large_image, tile source',
Expand Down
6 changes: 3 additions & 3 deletions sources/tiff/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand All @@ -41,11 +41,11 @@ def prerelease_local_scheme(version):
'Programming Language :: Python :: 3.7'
],
install_requires=[
'large-image>=1.0.0.dev0',
'large-image>=1.0.0',
'libtiff>=0.4.1',
],
extras_require={
'girder': 'girder-large-image>=1.0.0.dev0',
'girder': 'girder-large-image>=1.0.0',
},
license='Apache Software License 2.0',
keywords='large_image, tile source',
Expand Down
6 changes: 3 additions & 3 deletions tasks/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def prerelease_local_scheme(version):
"""
from setuptools_scm.version import get_local_node_and_date

if os.getenv('CIRCLE_BRANCH') in ('master', 'girder-3'):
if os.getenv('CIRCLE_BRANCH') in ('master', ):
return ''
else:
return get_local_node_and_date(version)
Expand All @@ -39,8 +39,8 @@ def prerelease_local_scheme(version):
'Programming Language :: Python'
],
install_requires=[
'girder-worker>=0.5.1.dev213',
'girder_worker_utils>=0.8.5.dev23',
'girder-worker>=0.6.0',
'girder-worker-utils>=0.8.5',
# Packages required by both producer and consumer side installations
'six>=1.10.0',
],
Expand Down

0 comments on commit 4d048c0

Please sign in to comment.