Skip to content

Commit e445a5d

Browse files
author
Sam Partee
authored
Fix improper package specification for pip (#4)
Use ``setuptools.find_packages()`` instead of manual package specification for a proper pip install. non-editable install works now.
1 parent ffc3360 commit e445a5d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Install the Python requirements listed in `requirements.txt`.
8989
```bash
9090
git clone https://github.com/RedisVentures/data-loader.git
9191
cd redisvl
92-
pip install -e .
92+
pip install .
9393
```
9494

9595
### Creating Input Data

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from setuptools import setup
1+
from setuptools import setup, find_packages
22

33
# function to read in requirements.txt to into a python list
44
def read_requirements():
@@ -19,7 +19,7 @@ def read_dev_requirements():
1919
python_requires=">=3.6",
2020
install_requires=read_requirements(),
2121
extras_require={"dev": read_dev_requirements()},
22-
packages=["redisvl"],
22+
packages=find_packages(),
2323
zip_safe=False,
2424
entry_points={
2525
"console_scripts": [

0 commit comments

Comments
 (0)