Skip to content

Commit

Permalink
Merge pull request #1370 from ioam/setup_fixes
Browse files Browse the repository at this point in the history
Updates to setup.py and meta.yaml
  • Loading branch information
philippjfr committed Apr 25, 2017
2 parents 3e33d87 + 61eee82 commit b1ff8be
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 24 deletions.
2 changes: 1 addition & 1 deletion holoviews/__init__.py
Expand Up @@ -8,7 +8,7 @@

import param

__version__ = param.Version(release=(1,6,2), fpath=__file__,
__version__ = param.Version(release=(1,7,0), fpath=__file__,
commit="$Format:%h$", reponame='holoviews')

from .core import archive # noqa (API import)
Expand Down
6 changes: 3 additions & 3 deletions meta.yaml
@@ -1,6 +1,6 @@
package:
name: holoviews
version: 1.6.2
version: 1.7

source:
path: .
Expand All @@ -13,10 +13,10 @@ requirements:
- setuptools
run:
- python
- param
- param>=1.5,<2.0
- numpy
- matplotlib
- bokeh
- bokeh=0.12.5
- jupyter
- notebook
- ipython
Expand Down
26 changes: 6 additions & 20 deletions setup.py
Expand Up @@ -8,7 +8,7 @@


setup_args = {}
install_requires = ['param>=1.3.2', 'numpy>=1.0']
install_requires = ['param>=1.5,<2.0', 'numpy>=1.0']
extras_require={}

# Notebook dependencies of IPython 3
Expand All @@ -18,7 +18,7 @@
extras_require['recommended'] = (extras_require['notebook-dependencies']
+ ['matplotlib', 'lancet-ioam'])
# Additional, useful third-party packages
extras_require['extras'] = (['pandas', 'seaborn', 'mpld3', 'bokeh']
extras_require['extras'] = (['pandas', 'seaborn', 'mpld3', 'bokeh==0.12.5']
+ extras_require['recommended'])
# Everything including cyordereddict (optimization) and nosetests
extras_require['all'] = (extras_require['recommended']
Expand All @@ -27,7 +27,7 @@

setup_args.update(dict(
name='holoviews',
version="1.7dev8",
version="1.7",
install_requires = install_requires,
extras_require = extras_require,
description='Stop plotting your data - annotate your data and let it visualize itself.',
Expand Down Expand Up @@ -85,23 +85,9 @@ def check_pseudo_package(path):

if __name__=="__main__":

if 'HOLOVIEWS_RELEASE' in os.environ:
# Make sure to create these directories and populate them before upload
setup_args['packages'] += ["holoviews.assets", 'holoviews.notebooks']

# Add unit tests
setup_args['packages'].append('holoviews.tests')

setup_args['package_data']['holoviews.assets'] = ['*.png', '*.svg', '*.rst']
setup_args['package_data']['holoviews.notebooks'] = ['*.ipynb', '*.npy']

if ('upload' in sys.argv) or ('sdist' in sys.argv):
check_pseudo_package(os.path.join('.', 'holoviews', 'tests'))
check_pseudo_package(os.path.join('.', 'holoviews', 'assets'))
check_pseudo_package(os.path.join('.', 'holoviews', 'notebooks'))

import holoviews
holoviews.__version__.verify(setup_args['version'])
if ('upload' in sys.argv) or ('sdist' in sys.argv):
import holoviews
holoviews.__version__.verify(setup_args['version'])


if 'install' in sys.argv:
Expand Down

0 comments on commit b1ff8be

Please sign in to comment.