Skip to content

Commit

Permalink
Fixed pip installation issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
kirbs- committed Sep 20, 2015
1 parent 2adeb5a commit c35b92f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Hide_code 0.1.0
# Hide_code 0.1.3

## Introduction
hide_code is an extension for Jupyter/IPython notebooks to selectively hide code and prompts. Make a notebook a code free document for exporting or presenting. Hide all code and prompts with a single click by pressing ![hide_code toggle](/images/button.png)
hide_code is an extension for Jupyter/IPython notebooks to selectively hide code and prompts. Make a notebook a code free document for exporting or presenting with a single click by pressing ![hide_code toggle](/images/button.png)

###### Normal
![image1.1](/images/1.1.png)
Expand Down Expand Up @@ -29,6 +29,5 @@ Or customize each cell by selecting "Hide code" from the Cell Toolbar dropdown.


## Requirements
- Jupyter notebook 4+

## License
* Jupyter notebook 4+
* Python 2.7+ if installing with pip
2 changes: 1 addition & 1 deletion hide_code/hide_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ def install(nb_path=None, DEBUG=False):
print "Configured custom.js to auto-load hide_code.js"
else:
print 'Unable to install into ' + install_path
print 'Directory doesn\' exist.'
print 'Directory doesn\'t exist.'
print 'Make sure Jupyter is installed.'
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def run(self):


# Get the long description from the relevant file
with open('README.md', encoding='utf-8') as f:
with open('hide_code/README.txt', encoding='utf-8') as f:
long_description = f.read()

setup(
Expand All @@ -31,7 +31,7 @@ def run(self):
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.1.1',
version='0.1.3',

description='A Jupyter notebook extension to hide code.',
long_description=long_description,
Expand Down

0 comments on commit c35b92f

Please sign in to comment.