File tree Expand file tree Collapse file tree 4 files changed +25
-2
lines changed Expand file tree Collapse file tree 4 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 1
1
include LICENSE.txt
2
2
include package.md
3
3
include requirements.txt
4
+ recursive-include text_extensions_for_pandas/resources *
Original file line number Diff line number Diff line change @@ -52,6 +52,19 @@ Steps to release a new version:
52
52
(pd) freiss@fuzzy:~/pd/tep-alpha2$
53
53
```
54
54
55
+ 1 . Create a new Anaconda environment and install JupyterLab and the ` .whl ` file
56
+ you just created into the new environment:
57
+
58
+ ```
59
+ conda deactivate
60
+ conda create --prefix testenv python=3.8 pip jupyterlab
61
+ conda activate ./testenv
62
+ pip install dist/text_extensions_for_pandas*.whl
63
+ ```
64
+
65
+ 1 . Activate your new environment, start up JupyterLab, and verify that the
66
+ notebooks under ` notebooks ` still run.
67
+
55
68
1 . (optional): Do a test upload to TestPyPI by running:
56
69
```
57
70
python -m twine upload --repository testpypi dist/*
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ if [ -n "${ENV_NAME}" ]; then
111
111
# Remove the detrius of any previous runs of this script
112
112
conda env remove -n ${ENV_NAME}
113
113
114
- conda create -y --name ${ENV_NAME} python=${PYTHON_VERSION}
114
+ conda create -y --name ${ENV_NAME} python=${PYTHON_VERSION} pip
115
115
116
116
# ###############################################################################
117
117
# All the installation steps that follow must be done from within the new
Original file line number Diff line number Diff line change 22
22
with open ('requirements.txt' ) as fh :
23
23
requirements = fh .read ().splitlines ()
24
24
25
+ resources_dir = "text_extensions_for_pandas/resources"
26
+
27
+
25
28
setuptools .setup (
26
29
name = "text_extensions_for_pandas" ,
27
- version = "0.1" ,
30
+ version = "0.1.1 " ,
28
31
author = "IBM" ,
29
32
30
33
description = "Natural language processing support for Pandas dataframes." ,
40
43
"Topic :: Scientific/Engineering" ,
41
44
],
42
45
python_requires = '>=3.6' ,
46
+ package_data = {"" : ["LICENSE.txt" ,
47
+ f"{ resources_dir } /*.css" ,
48
+ f"{ resources_dir } /*.js" ,
49
+ f"{ resources_dir } /*.png" ,
50
+ f"{ resources_dir } /*.svg" ,]},
51
+ include_package_data = True
43
52
)
You can’t perform that action at this time.
0 commit comments