Skip to content

Commit e207444

Browse files
authored
Merge pull request #32 from graph-algorithms/Issue28-PublishToTestPyPI
Resolves #28 - Changes required to install `planarity` from Source Distribution published to TestPyPI
2 parents b323fcb + cd88645 commit e207444

91 files changed

Lines changed: 21264 additions & 20224 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ under the following BSD-3-Clause license.
55

66
::
77

8-
Copyright (C) 2016-2026, Planarity Developers
8+
Copyright (c) 2016-2026, Planarity Developers
99
Aric Hagberg <aric.hagberg@gmail.com>
1010
Wanda B. K. Boyer <wbkboyer@gmail.com>
1111
John M. Boyer <john.boyer.phd@gmail.com>

MANIFEST.in

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
include MANIFEST.in
22
include setup.py
3-
include INSTALL.txt
3+
44
include LICENSE.txt
5+
include planarity/c/LICENSE.TXT
6+
57
include README.md
8+
include planarity/c/README
69

710
include planarity/cplanarity.pxd
811
include planarity/planarity.c
912
include planarity/planarity.pyx
10-
include planarity/src/*.c
11-
include planarity/src/*.h
1213

1314
recursive-include examples *.py *.gz
1415
recursive-include doc *.py *.rst Makefile *.html *.txt

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,21 @@ In [10]: print(planarity.ascii(edgelist))
4545
---5----
4646
</pre>
4747

48-
See [here](https://github.com/graph-algorithms/planarity/tree/master/examples) for more examples.
48+
```python
49+
In [11]: # Shows correspondence between vertex labels and indices
4950

51+
In [12]: print(planarity.mapping(edgelist))
52+
{1: 'd', 2: 'c', 3: 'e', 4: 'a', 5: 'b'}
53+
```
54+
55+
See [here](https://github.com/graph-algorithms/planarity/tree/master/examples) for more examples.
5056

5157
## License
5258

5359
Planarity (the 'planarity' Python package; the software) is released
5460
under [this BSD-3-Clause license](https://github.com/graph-algorithms/planarity/blob/master/LICENSE.txt).
5561

56-
Copyright (C) 2016-2026, Planarity Developers<br/>
62+
Copyright (c) 2016-2026, Planarity Developers<br/>
5763
Aric Hagberg <aric.hagberg@gmail.com><br/>
5864
Wanda B. K. Boyer <wbkboyer@gmail.com><br/>
5965
John M. Boyer <john.boyer.phd@gmail.com><br/>
@@ -62,4 +68,4 @@ under [this BSD-3-Clause license](https://github.com/graph-algorithms/planarity/
6268
Planarity includes the Edge Addition Planarity Suite, which is<br/>
6369
Copyright (c) 1997-2025, John M. Boyer.<br/>
6470
The BSD-3-Clause license for the Edge Additional Planarity Suite
65-
included in Planarity appears [here](https://github.com/graph-algorithms/planarity/blob/master/planarity/src/LICENSE.TXT).
71+
included in Planarity appears [here](https://github.com/graph-algorithms/planarity/blob/master/planarity/c/LICENSE.TXT).

planarity/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
# NOTE: In the future, we could automatically generate the version number by
66
# configuring setuptools-scm, but presently this seems simpler.
7-
__version__ = "0.7.0"
7+
__version__ = "0.7.8"
Lines changed: 48 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,48 @@
1-
The Edge Addition Planarity Suite
2-
Copyright (c) 1997-2015, John M. Boyer
3-
All rights reserved. Includes a reference implementation of the following:
4-
5-
* John M. Boyer. "Subgraph Homeomorphism via the Edge Addition Planarity Algorithm".
6-
Journal of Graph Algorithms and Applications, Vol. 16, no. 2, pp. 381-410, 2012.
7-
http://www.jgaa.info/16/268.html
8-
9-
* John M. Boyer. "A New Method for Efficiently Generating Planar Graph
10-
Visibility Representations". In P. Eades and P. Healy, editors,
11-
Proceedings of the 13th International Conference on Graph Drawing 2005,
12-
Lecture Notes Comput. Sci., Volume 3843, pp. 508-511, Springer-Verlag, 2006.
13-
14-
* John M. Boyer and Wendy J. Myrvold. "On the Cutting Edge: Simplified O(n)
15-
Planarity by Edge Addition". Journal of Graph Algorithms and Applications,
16-
Vol. 8, No. 3, pp. 241-273, 2004.
17-
http://www.jgaa.info/08/91.html
18-
19-
* John M. Boyer. "Simplified O(n) Algorithms for Planar Graph Embedding,
20-
Kuratowski Subgraph Isolation, and Related Problems". Ph.D. Dissertation,
21-
University of Victoria, 2001.
22-
23-
Redistribution and use in source and binary forms, with or without
24-
modification, are permitted provided that the following conditions are met:
25-
26-
* Redistributions of source code must retain the above copyright notice, this
27-
list of conditions and the following disclaimer.
28-
29-
* Redistributions in binary form must reproduce the above copyright notice,
30-
this list of conditions and the following disclaimer in the documentation
31-
and/or other materials provided with the distribution.
32-
33-
* Neither the name of The Edge Addition Planarity Suite nor the names of its
34-
contributors may be used to endorse or promote products derived from
35-
this software without specific prior written permission.
36-
37-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
38-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
39-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
40-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
41-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
42-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
43-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
44-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
45-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
46-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1+
The Edge Addition Planarity Suite
2+
Copyright (c) 1997-2025, John M. Boyer
3+
All rights reserved. Includes a reference implementation of the following:
4+
5+
* John M. Boyer. "Subgraph Homeomorphism via the Edge Addition Planarity Algorithm".
6+
Journal of Graph Algorithms and Applications, Vol. 16, no. 2, pp. 381-410, 2012.
7+
http://dx.doi.org/10.7155/jgaa.00268
8+
9+
* John M. Boyer. "A New Method for Efficiently Generating Planar Graph
10+
Visibility Representations". In P. Eades and P. Healy, editors,
11+
Proceedings of the 13th International Conference on Graph Drawing 2005,
12+
Lecture Notes Comput. Sci., Volume 3843, pp. 508-511, Springer-Verlag, 2006.
13+
http://dx.doi.org/10.1007/11618058_47
14+
15+
* John M. Boyer and Wendy J. Myrvold. "On the Cutting Edge: Simplified O(n)
16+
Planarity by Edge Addition". Journal of Graph Algorithms and Applications,
17+
Vol. 8, No. 3, pp. 241-273, 2004.
18+
http://dx.doi.org/10.7155/jgaa.00091
19+
20+
* John M. Boyer. "Simplified O(n) Algorithms for Planar Graph Embedding,
21+
Kuratowski Subgraph Isolation, and Related Problems". Ph.D. Dissertation,
22+
University of Victoria, 2001.
23+
https://dspace.library.uvic.ca/handle/1828/9918
24+
25+
Redistribution and use in source and binary forms, with or without
26+
modification, are permitted provided that the following conditions are met:
27+
28+
* Redistributions of source code must retain the above copyright notice, this
29+
list of conditions and the following disclaimer.
30+
31+
* Redistributions in binary form must reproduce the above copyright notice,
32+
this list of conditions and the following disclaimer in the documentation
33+
and/or other materials provided with the distribution.
34+
35+
* Neither the name of The Edge Addition Planarity Suite nor the names of its
36+
contributors may be used to endorse or promote products derived from
37+
this software without specific prior written permission.
38+
39+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
40+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
41+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
42+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
43+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
44+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
45+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
46+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
47+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
48+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
File renamed without changes.

0 commit comments

Comments
 (0)