Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c1d87f9

Browse files
committed
Updated for the APIs chapter.
1 parent a5fa885 commit c1d87f9

File tree

3 files changed

+3
-24
lines changed

3 files changed

+3
-24
lines changed

Makefile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,13 @@ MYPY=$(VENV)/bin/mypy
88
virtual-env:
99
$(SYSTEM_PYTHON) -m venv $(VENV)
1010

11-
pygraphviz:
12-
@git clone https://github.com/pygraphviz/pygraphviz
13-
@. $(VENV)/bin/activate && \
14-
cd pygraphviz && \
15-
git checkout 6c0876c9bb158452f1193d562531d258e9193f2e && \
16-
git apply ../patches/graphviz-includes.diff && \
17-
python setup.py install
18-
@rm -rf pygraphviz
19-
2011
$(MYPY):
2112
git clone https://github.com/JukkaL/mypy.git
2213
. $(VENV)/bin/activate && \
2314
cd mypy && $(PYTHON) setup.py install
2415
rm -rf mypy
2516

26-
deps: pygraphviz
17+
deps:
2718
. $(VENV)/bin/activate && \
2819
pip3.4 install -r requirements.txt
2920

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
1-
# architecture
1+
# APIs
2+
23

34
## Dependencies
45

56
The following are required for these examples:
67

78
* Python 3.4
8-
* graphviz header files
99

10-
For Python, download 3.4 from python.org. For graphviz on Mac OS X:
11-
12-
```
13-
$ brew install graphviz
14-
```
1510

1611
## Instructions
1712

@@ -24,7 +19,3 @@ IPython Notebook server:
2419
```
2520

2621
At which point a browser window will open, with a view of this notebook.
27-
28-
Note that this notebook assumes you have the Graphviz include files installed
29-
under ``/usr/local``. If this is not the case, you will want to manually
30-
install pygraphviz into this virtual env.

requirements.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
setuptools
22
flake8
33
typecheck-decorator == 0.3b
4-
graphviz
5-
networkx
64
matplotlib
75
ipython[notebook]
8-
pycallgraph

0 commit comments

Comments
 (0)