Skip to content

Issue #28 - Changes required to install planarity from Source Distribution published to TestPyPI#32

Merged
wbkboyer merged 11 commits intomasterfrom
Issue28-PublishToTestPyPI
Mar 3, 2026
Merged

Issue #28 - Changes required to install planarity from Source Distribution published to TestPyPI#32
wbkboyer merged 11 commits intomasterfrom
Issue28-PublishToTestPyPI

Conversation

@wbkboyer
Copy link
Copy Markdown
Member

@wbkboyer wbkboyer commented Mar 3, 2026

Resolves #28

Updated

  • C source files now reside in planarity/c/graphLib/, and reflect the EAPS graphLib as of the 4.0.1 release tag
  • Updated license and README files to integrate changes from master, as well as minor typographical changes
  • README.md - added planarity.mapping(edgelist) to give the correspondence of vertex labels (specified in edgelist) and indices (shown in the result of the underlying call to gp_DrawPlanar_RenderToString())
  • planarity/__init__.py - bumped __version__ so that it reflects the 0.7.8 version currently published to TestPyPI
  • planarity/cplanarity.pxd - updated paths to header files in this .pxd definition file
  • planarity/planarity.c - recompiled Cython extension using cython 3.2.4 to produce new planarity.c to enable install in environments without cython dependency
  • MANIFEST.in - no longer need to explicitly recursive-include the *.c source and *.h header files associated with the graphLib, since those should be included in the Source Distribution (and eventually Built Distributions) based on the configuration in setup.py (confirmed by inspecting the .tar.gz build artifact). Removed include of INSTALL.txt, since this file no longer exists.
  • setup.py - updated sourcefiles and include_dirs to reflect new C sourcefile structure
  • requirements.txt - added build and twine build dependencies (further work to come in Split requirements.txt and manage versions using dependabot #20 )

Verification

john-boyer-phd and others added 11 commits February 25, 2026 17:19
…release tag

- Removed `src/`, made new directory `c/` and copied in EAPS c/graphLib/ directory and contents. Also made sure to include EAPS LICENSE.txt and to preserve the README.md from Issue24 branch
- Updated paths for headers from graphLib in planarity/cplanarity.pxd
- Updated setup.py Extension sourcefiles with appropriate glob notation, as well as the include_dirs.
…ribution: the include_dirs path included a trailing slash.

Alternately, could include the following in the MANIFEST.in file:

recursive-include planarity/c/graphLib *.c
recursive-include planarity/c/graphLib *.h

Also removed INSTALL.txt from MANIFEST.in file, since this file no longer exists (which referred to doc/source/install.rst, which doesn't seem to have ever existed anyhow??)

Updated the README.md to include the vertex label to index mapping
@wbkboyer wbkboyer merged commit e207444 into master Mar 3, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish package to TestPyPI and test installation

2 participants