Skip to content

Conversation

EZoni
Copy link
Member

@EZoni EZoni commented Oct 3, 2025

Overview

Keep the distribution name as pals-schema, but change the import name to pals. Close #23.

With these changes:

  • Users will install the package with pip install pals-schema.
  • Users will import the module with import pals.

To do

  • Test with TestPyPI, https://test.pypi.org/project/pals-test/:
    conda activate dev  # activate environment with pip, build, twine, etc.
    cd pals-python  # move to the pals-python root dir to build and upload
    python3 -m build
    python3 -m twine upload --repository testpypi dist/*
    cd .. # move out of the pals-python root dir to install and test the package
    python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple pals_test
    python3
    >>> import pals
    >>> from pals.BeamLine import BeamLine
    >>>
  • Update the PyPI package version to 0.2.0.

@EZoni EZoni requested a review from ax3l October 3, 2025 19:04
@EZoni EZoni added the enhancement New feature or request label Oct 3, 2025
Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

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

Thank you! :)

@ax3l ax3l self-assigned this Oct 14, 2025
@ax3l ax3l added the breaking label Oct 14, 2025
@EZoni
Copy link
Member Author

EZoni commented Oct 15, 2025

Retested following the procedure in #25 (comment). Will merge and publish a new release now.

@EZoni EZoni merged commit cf0fd3f into campa-consortium:main Oct 15, 2025
11 checks passed
@EZoni EZoni deleted the pypi_rename_package branch October 15, 2025 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use pals, not pals-schema, as module name

2 participants