Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add requirements.txt #106

Merged
merged 4 commits into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from 3 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
5 changes: 2 additions & 3 deletions .github/workflows/run_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install django-import-export future futures six gevent prettytable pytest
pip install -r requirements-dev.txt
- name: Test with pytest
run: |
mkdir tmp
Expand All @@ -32,9 +32,8 @@ jobs:
pushd nebula-docker-compose/
cp ../../tests/docker-compose.yaml ./
docker-compose up -d
sleep 10
sleep 60
popd
popd
cd tests
pytest -s -v

13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ sudo python3 setup.py install

When your environment cannot access `pypi`, you need to install the following packages manually.

- django-import-export
- future
- six
- httplib2
- futures # python2.x is needed
```
pip install -r requirements.txt
```
dev version
```
pip install -r requirements.txt
```

### Option two: using pip

Expand Down Expand Up @@ -143,4 +145,3 @@ while resp.has_next():
| 2.0.0.post1 | 2.0.0beta |
| 2.0.0rc1 | 2.0.0-rc1 |
| 2.0.0 | >= 2.0.0 |

8 changes: 8 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
django-import-export
future
six
httplib2
futures; python_version < '3.0'
gevent
prettytable
pytest
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
django-import-export
future
six
httplib2
futures; python_version < '3.0'