Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ git clone https://github.com/<your_username>/textbrew.git
```
<br>
`cd` into cloned repo:

```
cd textbrew
```
Expand All @@ -27,6 +28,7 @@ So, it is highly recommended that you setup ssh for Github using: [Setting up SS
Set the `upstream` to this repo:

The easiest way is to use the https url:

```
git remote add upstream https://github.com/datawarp/textbrew.git
```
Expand All @@ -51,27 +53,32 @@ git checkout develop
```
<br>
Now you can fetch latest changes from main repo using:

```
git fetch upstream
```
<br>
`merge` the latest code with *develop* branch:

```
git merge upstream/develop
```
<br>
`checkout` to your newly created branch:

```
git checkout new_branch
```
<br>
Rebase the code of *new_branch* from the code in *develop* branch, run the `rebase` command from your current branch:

```
git rebase develop
```
Now all your changes on your current branch will be based on the top of the changes in *develop* branch.

Push your changes to your forked repo

```
git push origin new_branch
```
Expand Down
6 changes: 3 additions & 3 deletions notebooks/textbrew-examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
"version": 3.0
},
"file_extension": ".py",
"mimetype": "text/x-python",
Expand All @@ -111,5 +111,5 @@
}
},
"nbformat": 4,
"nbformat_minor": 2
}
"nbformat_minor": 0
}
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[metadata]
description-file = README.md
26 changes: 26 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
from setuptools import setup
import setuptools

setup(
name='textbrew',
packages=setuptools.find_packages(),
version='0.1.0',
description='Brew your raw text to a more structured and Machine Learning complaint format.',
license='MIT',
author='datawarp',
author_email='rishy.s13@gmail.com',
url='https://github.com/datawarp/textbrew',
download_url='https://github.com/datawarp/textbrew.git',
install_requires=[
'numpy==1.12.0',
'spacy==1.6.0'
],
keywords=['textbrew'],
classifiers=['Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Text Cleaning',
'License :: MIT License',
'Programming Language :: Python :: 3.5',
],

)