File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,13 @@ A library for working with graphs in Python
44
55CHANGELOG
66
7+ Unreleased:
8+
9+ Enhancements:
10+ New location, and new main maintainers.
11+ Various fixes and improvements to the Makefile and testrunning.
12+ Automatic tests and coverage of master and pull request with Travis and Coveralls.
13+
714
815Release 1.8.2 [July 14, 2012]
916
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ TESTS_DIR="tests/"
1010DOCS_DIR ="docs/"
1111TEMP ="temp/"
1212PYTHONPATH ="` pwd ` /core:` pwd ` /dot"
13+ PYTHON ="python"
14+ PYTHON3 ="python3"
1315
1416
1517# General ------------------------------------------------------------
@@ -67,28 +69,28 @@ test-pre:
6769 reset
6870
6971test : test-pre
70- PYTHONPATH=${PYTHONPATH} python tests/testrunner.py
72+ PYTHONPATH=${PYTHONPATH} ${PYTHON} tests/testrunner.py
7173
7274test3 : test-pre
73- PYTHONPATH=${PYTHONPATH} python3 tests/testrunner.py
75+ PYTHONPATH=${PYTHONPATH} ${PYTHON3} tests/testrunner.py
7476
7577tests : test
7678
7779
7880# Tests --------------------------------------------------------------
7981
8082console :
81- export PYTHONPATH=${PYTHONPATH} && cd ${TESTS_DIR} && python
83+ export PYTHONPATH=${PYTHONPATH} && cd ${TESTS_DIR} && ${PYTHON}
8284
8385console3 :
84- export PYTHONPATH=${PYTHONPATH} && cd ${TESTS_DIR} && python3
86+ export PYTHONPATH=${PYTHONPATH} && cd ${TESTS_DIR} && ${PYTHON3}
8587
8688
8789# Cleaning -----------------------------------------------------------
8890
8991cleanpyc :
90- find . -name * .pyc -exec rm {} \;
91- find . -name __pycache__ -exec rm -rf {} \;
92+ find tests dot core -name * .pyc -exec rm {} \;
93+ find tests dot core -name __pycache__ -exec rm -rf {} \; -prune
9294
9395clean : cleanpyc
9496 rm -rf ${DOCS_DIR}
Original file line number Diff line number Diff line change @@ -125,6 +125,9 @@ Jonathan Sternberg <jonathansternberg@gmail.com>
125125Daniel Merritt <dmerritt@gmail.com>
126126 * Fixed reading of XML-stored graphs with edge attributes.
127127
128+ Sandro Tosi <morph@debian.org>
129+ * Some improvements to Makefile
130+
128131
129132LICENSE
130133
You can’t perform that action at this time.
0 commit comments