-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] : Rename package to AFMReader #43
Comments
I've mentioned before I think the package name could be more descriptive. I'm not a fan of the What the package is doing is reading files of different formats so my suggestion for an appropriate name would be With regards to how to rename...
With PyPI you can't rename packages. You have to upload a new package and have the old one point to the new. The simonw/pypi-rename: Cookiecutter template for creating renamed PyPI packages can help here it seems. Technically the new one is a very simple package that has a single dependency, the new package so when people A brief search threw up |
If you already have a Before
After
Not Essential but SensibleIt's not essential but it would be sensible to also rename the cloned directory. Assuming you are on the command line and the path to the cloned directory is mv ~/work/git/hub/AFM-SPM/topofileformats ~/work/git/hub/AFM-SPM/AFMReader |
Is this now done? |
With the consensus to rename `topofileformats` > `AFMReader` we need to make a final release based on this commit of `topofileformats` to PyPI which should 🤞 mean that any attempt to install `topofileformats` from PyPI will simply pull in the renamed `AFMReader` package instead. For further details see [AFMReader Issue 43](AFM-SPM/AFMReader#43).
Closing, AFMReader v0.0.1 is on PyPI and |
Is your feature request related to a problem?
It has been suggested by Alice that this repo be renamed to AFMFileFormats as this may be more representative. Is this possible? Are there metadata that cannot change? Likely the PyPI identifier?
Describe the solution you would like.
Rename the repo to afmfileformats along with the PyPI identifier if possible. Discuss before doing it.
Describe the alternatives you have considered.
Not renaming it if this isn't possible or if remnants of the old name would cause confusion for users.
Sample Image
No response
Additional context
No response
Tasks
origin
to point to the renamed repository).pyproject.toml
(don't currently have one though!).CITATION.cff
topofileformats
>AFMReader
for package directory.import topofileformats
toimport AFMReader
(files includeAFMReader/*.py
,tests/test_*.py
,README.md
,examples/example_01.ipynb
).AFMReader
to PyPItopofileformats
to have a single dependencyAFMReader
so that the new package is installed if anyone tries to install the old package.Publish updated package to PyPI. Opted to deletetopofileformats
from PyPI completed by @SylviaWhittle 2024-06-05 15:22Updatesee Migrate IO class from TopoStats #22 instead.TopoStats
to depend onAFMReader
rather thantopofileformats
The text was updated successfully, but these errors were encountered: