Skip to content

Commit

Permalink
Merge pull request #232 from frreiss/branch-0_1_1
Browse files Browse the repository at this point in the history
Prep for point release to fix issue #231
  • Loading branch information
frreiss committed Jul 21, 2021
2 parents fd7bba0 + 5d8b457 commit 57638f5
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include LICENSE.txt
include package.md
include requirements.txt
recursive-include text_extensions_for_pandas/resources *
13 changes: 13 additions & 0 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@ Steps to release a new version:
(pd) freiss@fuzzy:~/pd/tep-alpha2$
```

1. Create a new Anaconda environment and install JupyterLab and the `.whl` file
you just created into the new environment:

```
conda deactivate
conda create --prefix testenv python=3.8 pip jupyterlab
conda activate ./testenv
pip install dist/text_extensions_for_pandas*.whl
```

1. Activate your new environment, start up JupyterLab, and verify that the
notebooks under `notebooks` still run.

1. (optional): Do a test upload to TestPyPI by running:
```
python -m twine upload --repository testpypi dist/*
Expand Down
11 changes: 10 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@
with open('requirements.txt') as fh:
requirements = fh.read().splitlines()

resources_dir = "text_extensions_for_pandas/resources"


setuptools.setup(
name="text_extensions_for_pandas",
version="0.1",
version="0.1.1",
author="IBM",
author_email="[email protected]",
description="Natural language processing support for Pandas dataframes.",
Expand All @@ -40,4 +43,10 @@
"Topic :: Scientific/Engineering",
],
python_requires='>=3.6',
package_data={"": ["LICENSE.txt",
f"{resources_dir}/*.css",
f"{resources_dir}/*.js",
f"{resources_dir}/*.png",
f"{resources_dir}/*.svg",]},
include_package_data=True
)

0 comments on commit 57638f5

Please sign in to comment.