Skip to content

Commit

Permalink
Merge pull request #170 from BBN-Q/fix/setup
Browse files Browse the repository at this point in the history
First pass at python deps in setup.py
  • Loading branch information
matthewware committed Jul 12, 2018
2 parents f69253f + f829919 commit 446ff4f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,24 @@ pip install watchdog
### Python 3.4+

```bash
conda install future
pip install watchdog
conda install -c ecpy atom
cd QGL/
pip install .
```

For Python 3.6+ you may need to install watchdog from conda forge:
```
conda install -c conda-forge watchdog
conda install -c ecpy atom
cd QGL/
pip install .
```

If you'd like to use some of the built-in gate-set-tomography functionality,
you can grab the PyGSTi package during the install:
```
pip install '.[gst]'
```
If the `QGL` module is not installed, the repository path needs to be in the
`PYTHONPATH`. On Windows machines, you add/modify this environment variable by
going to System -> Advanced Settings -> Environment variables. On Mac/Linux
Expand Down
15 changes: 14 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,17 @@
setup(name='QGL',
version='2.1',
url='https://github.com/BBN-Q/QGL',
packages=find_packages(exclude=["tests"]))
packages=find_packages(exclude=["tests"]),
install_requires=[
"numpy >= 1.11.1",
"scipy >= 0.17.1",
"jupyter >= 1.0.0",
"atom >= 0.4.1",
"h5py >= 2.6.0",
"networkx >= 1.11",
"future >= 0.16",
"watchdog >= 0.8.3",
"bokeh >= 0.11"
],
extras_require={"gst": "pygsti>0.9.4"}
)

0 comments on commit 446ff4f

Please sign in to comment.