Skip to content

Remove now unused shapely._buildcfg module#1222

Merged
jorisvandenbossche merged 2 commits intoshapely:mainfrom
jorisvandenbossche:clean-up-buildcfg
Dec 5, 2021
Merged

Remove now unused shapely._buildcfg module#1222
jorisvandenbossche merged 2 commits intoshapely:mainfrom
jorisvandenbossche:clean-up-buildcfg

Conversation

@jorisvandenbossche
Copy link
Copy Markdown
Member

The shapely/_buildcfg.py is not actually used at the moment (AFAIK), so we can remove that.

setup.py Outdated
# Get geos_version from GEOS dynamic library, which depends on
# GEOS_LIBRARY_PATH and/or GEOS_CONFIG environment variables
from shapely._buildcfg import geos_version_string, geos_version, \
geos_config, get_geos_config
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All those imported variables are either not used in this file or either redefined a bit lower

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+3.8%) to 89.122% when pulling 30b6825 on jorisvandenbossche:clean-up-buildcfg into 1f60441 on Toblerity:main.

Copy link
Copy Markdown
Member

@mwtoews mwtoews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm certain setup.py is due for a rewrite soon, so this private module can be dropped.

Some background on this with PR #327

@jorisvandenbossche jorisvandenbossche merged commit 1bc638d into shapely:main Dec 5, 2021
@jorisvandenbossche jorisvandenbossche deleted the clean-up-buildcfg branch December 5, 2021 08:22
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.

3 participants