Skip to content

[Build Cleanup & Fix] Bump to version 1.0.1#15

Open
DEKHTIARJonathan wants to merge 1 commit into
zzyztyy:masterfrom
OpenSpeleo:build_fix
Open

[Build Cleanup & Fix] Bump to version 1.0.1#15
DEKHTIARJonathan wants to merge 1 commit into
zzyztyy:masterfrom
OpenSpeleo:build_fix

Conversation

@DEKHTIARJonathan

@DEKHTIARJonathan DEKHTIARJonathan commented Aug 16, 2025

Copy link
Copy Markdown

Hi @zzyztyy thanks for your cool package.

There are a few issues with your packaging system / repo that I fixed

  • No gitignore

    • .egg-info folder included
    • dist included
    • pyc files included
    • pycache included
    • dist/ folder included (should not be versioned under git)
  • build using setup.py is deprecated (and you don't need it) and leads to error IGRF14 is not included in your latest release

    with open(filename) as f:
         ~~~~^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/workspace/.venv/lib/python3.13/site-packages/pyIGRF/src/igrf14coeffs.txt'

I fixed all these problems, added flit as a build backend to make your life easier.

# Build
pip install flit
flit build

# Install 
pip install -e .

Also added config to uv if you ever want to switch.

As the current package 1.0.0 is broken (does not contain igrf14coeffs) - I bumped the version to 1.0.1 so that you can do another proper release ;)

Let me know if you have any question - happy to help

@DEKHTIARJonathan

Copy link
Copy Markdown
Author

@zzyztyy any update ? would be nice to get a fixed released

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.

1 participant