Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packaging and distribution #41

Open
betatim opened this issue Aug 16, 2018 · 2 comments
Open

Packaging and distribution #41

betatim opened this issue Aug 16, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@betatim
Copy link
Contributor

betatim commented Aug 16, 2018

Following on from #39 and connected to #34.

We should setup tooling so that users can pip install jupyanno to use it locally to annotate their own datasets.

Might also want to provide conda packages via conda-forge.

@betatim betatim mentioned this issue Aug 16, 2018
@kmader
Copy link
Collaborator

kmader commented Aug 16, 2018

the issue with pip is that you need to manually activate the jupyter extension like (mu)appmode and fileupload.

jupyter nbextension enable --py --sys-prefix appmode
jupyter serverextension enable --py --sys-prefix appmode
jupyter serverextension enable --py nbserverproxy
jupyter nbextension install --py --user fileupload
jupyter nbextension enable --py --user fileupload

@betatim
Copy link
Contributor Author

betatim commented Aug 16, 2018

you need to manually activate the jupyter extension

Correct.

Creating conda-forge packages is easiest if you have a PyPI package (a bot will make a PR to update your conda package when a new version appears on PyPI). Travis can deploy directly to PyPI. So I think the simplest way to get a conda package is to make a PyPI package that travis creates when you create a new tag on the repo. Then add the extra lines on how to pip install + activate to the README.

kmader added a commit that referenced this issue Aug 23, 2018
first limited version of notebook functions as giant mega-file #41
kmader added a commit that referenced this issue Aug 30, 2018
* Update simple-dash.ipynb

adding link to download html file

* Update environment.yml

reverting back to standard appmode and using jupyter_notebook_url

* Update README.md

updating links to use new style for passing variables

* Delete dashboard.ipynb

updating dashboard

* Add files via upload

adding updated dashboard

* Create __init__.py

first limited version of notebook functions as giant mega-file #41

* Update postBuild

removing appmode activate since conda takes care of it

* Update __init__.py

making pep8speaks happy or at least trying

* Update __init__.py

trying again to make @pep8speaks happy

* Update __init__.py

one last try

* Update environment.yml

adding jupyter dashboards

* Delete dashboard.ipynb

updating dashboard

* Add files via upload

adding new version of dashboard

* Update anno_app.ipynb

show the toolbar, add a windowing tool by dragging and fix the zoom to work more reliably
still need to work on making the figure big enough

* Update postBuild

switch to high resolution images

* Update anno_app.ipynb

tweaking zoom to only set one axis, updating to higher resolution images

* Update .travis.yml

enabling globstar for notebook analysis

* Update .travis.yml

changing to **

* Update .travis.yml

Fixes #60

* Update README.md

adding fancy badges

* Create pytest.ini

adding doctests

* Update .travis.yml

add code to fix backed to agg

* Update .travis.yml

added type checking with mypy

* Update __init__.py

adding test to binary_correct

* Update __init__.py

making pep8 happy

* Update .travis.yml

removing agg mode line (probably only an issue in binder)

* Create setup.cfg

adding setup files to make a more serious package

* Create setup.py

first very simple setup.y

* Update postBuild

adding package to environment

* Create sheets.py

moving sheets functions to sheets

* Create widgets.py

moving widgets into their own file

* Update __init__.py

cleaned up __init__

* Update anno_app.ipynb

moving annotation and widget code to library

* Delete dashboard.ipynb

moving dashboard to notebooks

* Add files via upload

adding lightweight dashboard to notebooks

* Delete simple-dash.ipynb

updating simpledash

* Add files via upload

adding new version of simple dash

* Update dashboard.ipynb

fixing task path

* Update __init__.py

adding relative path support

* moving notebooks to notebook directory

* fixing bug in dashboard, trying soo hard to make @pep8speaks happy

* removing unneeded imports, fixing get user code to inspect the local variables as well, fixing bug in dashboard

* adding test for safe_json, changing order of tests

* fixing long lines and adding more tests

* fixing get_user_id function, adding tests for plotly

* fixing buggy version of pytest on mac/darwin, refactoring code out of init adding task, adding tests

* removing pytest line in travis (it seemed to uninstall matplotlib???)

* splitting up tests, fixing flake8 issues

* fixing notebook execution code

* moving notebooks to its own build

* adding fancy format function

* fixing style issues, adding encode b64 for numpy arrays

* changing to master
kmader added a commit that referenced this issue Aug 30, 2018
* Update environment.yml

reverting back to standard appmode and using jupyter_notebook_url

* Update README.md

updating links to use new style for passing variables

* Delete dashboard.ipynb

updating dashboard

* Add files via upload

adding updated dashboard

* Create __init__.py

first limited version of notebook functions as giant mega-file #41

* Update postBuild

removing appmode activate since conda takes care of it

* Update __init__.py

making pep8speaks happy or at least trying

* Update __init__.py

trying again to make @pep8speaks happy

* Update __init__.py

one last try

* Update environment.yml

adding jupyter dashboards

* Delete dashboard.ipynb

updating dashboard

* Add files via upload

adding new version of dashboard

* Update anno_app.ipynb

show the toolbar, add a windowing tool by dragging and fix the zoom to work more reliably
still need to work on making the figure big enough

* Update postBuild

switch to high resolution images

* Update anno_app.ipynb

tweaking zoom to only set one axis, updating to higher resolution images

* Update .travis.yml

Fixes #60

* Update README.md

adding fancy badges

* Create pytest.ini

adding doctests

* Update .travis.yml

add code to fix backed to agg

* Update .travis.yml

added type checking with mypy

* Update __init__.py

adding test to binary_correct

* Update __init__.py

making pep8 happy

* Update .travis.yml

removing agg mode line (probably only an issue in binder)

* Create setup.cfg

adding setup files to make a more serious package

* Create setup.py

first very simple setup.y

* Update postBuild

adding package to environment

* Create sheets.py

moving sheets functions to sheets

* Create widgets.py

moving widgets into their own file

* Update __init__.py

cleaned up __init__

* Update anno_app.ipynb

moving annotation and widget code to library

* Delete dashboard.ipynb

moving dashboard to notebooks

* Add files via upload

adding lightweight dashboard to notebooks

* Delete simple-dash.ipynb

updating simpledash

* Add files via upload

adding new version of simple dash

* Update dashboard.ipynb

fixing task path

* Update __init__.py

adding relative path support

* moving notebooks to notebook directory

* fixing bug in dashboard, trying soo hard to make @pep8speaks happy

* removing unneeded imports, fixing get user code to inspect the local variables as well, fixing bug in dashboard

* adding test for safe_json, changing order of tests

* fixing long lines and adding more tests

* fixing get_user_id function, adding tests for plotly

* fixing buggy version of pytest on mac/darwin, refactoring code out of init adding task, adding tests

* removing pytest line in travis (it seemed to uninstall matplotlib???)

* splitting up tests, fixing flake8 issues

* fixing notebook execution code

* moving notebooks to its own build

* adding fancy format function

* fixing style issues, adding encode b64 for numpy arrays

* changing to master
@kmader kmader added the enhancement New feature or request label Sep 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants