Open Tyler-Bonnell opened 2 months ago
This issue relates to a documentation / tutorial page around what happens if you create a package locally, want to publish it to pypi and then learn AFTER that the name is already taken. it would walk a user through all of the places that they'd want to update things following best practices. this likely looks like
@Tyler-Bonnell if i didn't capture this quite right please let me know!
For me, the work is captured in the following two commits, with the second being optional but recommended.
pyproject.toml
; update folder name under src
(commit)More info about my experience under #261, including errors encountered when trying to have hyphens in new name.
@Tyler-Bonnell @pb-413 submitted a pr that i just merged - the text is here does that fix address your concerns?
(you have to open the dropdown on the page - the styles are odd but we can fix that later - that is a sphinx theme issue!.
When setting up the TestPyPi upload for my custom package -- I noticed there was already a package with my name available in TestPyPi and PyPi. The Package Guide (https://www.pyopensci.org/python-package-guide/tutorials/publish-pypi.html) Step 3. Setup your TestPyPI account states to rename your package (to avoid duplicate names).
I am currently working through the process now, and it is unclear the steps that need to be taken to successfully rename the package?
src/
dist
files after renaming the packageThese were the steps I am considering -- but I am unsure if there are others (what the ideal order of operations would be). It would be great if further documentation could be provided on this.