Skip to content
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

Upload to PyPi #28

Open
phauer opened this issue Sep 14, 2016 · 32 comments
Open

Upload to PyPi #28

phauer opened this issue Sep 14, 2016 · 32 comments

Comments

@phauer
Copy link
Contributor

phauer commented Sep 14, 2016

Hi,

could you upload your library to PyPi, please? This would ease the installation (via pip) and usage.

Cheers, Philipp

@liamks
Copy link
Owner

liamks commented Sep 16, 2016

Hi @phauer great idea, unfortunately I don't have the bandwidth for this at the moment. I would however accept a pull request to insure that pyItunes is in the right format for PyPi. Additionally, if you wanted to upload it I'd support that as well.

@mbdevpl
Copy link

mbdevpl commented Mar 21, 2017

@liamks as far as I can see the code is already ready for PyPI. The only problem is that there already is pyitunes in PyPI: https://pypi.python.org/pypi/pyitunes so you'd have to change the name of the package (for example to pyitunes-lib-parser) because there can't be more than one package with the same name.

Assuming the change is made, then, you'd need to register in PyPI as maintainer, register your package name and upload the built release from your working dir -- best to follow these steps: https://packaging.python.org/distributing/#uploading-your-project-to-pypi

All those steps could be performed by someone independent, as long as you'd be OK with changing the name of the package by someone else...

@NathanDotTo
Copy link
Collaborator

I can help here, if @liamks can agree on a name. So far the suggestion is "pyitunes-lib-parser". I would like to suggest "pyitunes-lib-utils". Specifically, I wanted to add some additional capabilities using http://pandas.pydata.org.

@shacker
Copy link
Collaborator

shacker commented Mar 23, 2017

How about "libpytunes" or "lib-pytunes" or "libtunes" or "tuneslib" or "itunes-lib" ? (I don't think it needs "py" in the name - obviously everything in pypi is python).

@liamks
Copy link
Owner

liamks commented Mar 24, 2017

I'm good with changing the name. Options so far:

  1. pyitunes-lib-utiles
  2. libpytunes
  3. lib-pytunes
  4. tuneslib
  5. itunes-lib
  6. pyitunes-lib-parse
  7. lib-pyitunes

My preference is something that has pyitunes in it, but I will defer to you guys. Preferences?

@NathanDotTo
Copy link
Collaborator

NathanDotTo commented Mar 24, 2017 via email

@liamks
Copy link
Owner

liamks commented May 6, 2017

@NathanDotTo I've made you a collaborator - if you're not interested I can revoke!

I'm good with the name change and the additional effort. I'm not able to lead this, so I'd be happy if you wanted to take over.

@NathanDotTo
Copy link
Collaborator

NathanDotTo commented May 6, 2017 via email

@shacker
Copy link
Collaborator

shacker commented May 6, 2017

I'm doing some work on PEP-8 compliance now, which should land very soon. Please don't add to pypi until that's in, thanks.

Probably also worth bumping the version number before adding to pypi, and noting the module name change in the readme.

@shacker
Copy link
Collaborator

shacker commented May 21, 2017

So with the PEP8 done and with introduction of basic tests, are we ready to do the name change and get this into pypi?

@NathanDotTo
Copy link
Collaborator

NathanDotTo commented May 21, 2017 via email

@NathanDotTo
Copy link
Collaborator

NathanDotTo commented May 21, 2017 via email

@shacker
Copy link
Collaborator

shacker commented May 21, 2017

Seems to be libpytunes - @liamks will need to rename the repository, if everyone is still in agreement on that?

@NathanDotTo
Copy link
Collaborator

NathanDotTo commented May 21, 2017 via email

@liamks
Copy link
Owner

liamks commented May 22, 2017

IT has been renamed!

@shacker
Copy link
Collaborator

shacker commented May 23, 2017

Right on! Nice how github does the redirect automatically. But we'd better do a search/replace on the naming right away, as setup.py still installs the egg with the old name - confusing. I'll do that now.

@shacker
Copy link
Collaborator

shacker commented May 23, 2017

PR: #46

Current users will of course have to re-do their requirements and imports.

@shacker
Copy link
Collaborator

shacker commented Jun 3, 2017

Out of curiosity, is Travis really a requirement for the pypi release? Doesn't seem like a blocker to me. We can always add Travis or other CI tool at any point in the future. Let's get this thing on pypi!

@NathanDotTo
Copy link
Collaborator

NathanDotTo commented Jun 3, 2017 via email

@liamks
Copy link
Owner

liamks commented Jun 3, 2017

@NathanDotTo Are one of you able to setup the .travis file? I assume from there I just have to create a travis account?

@NathanDotTo
Copy link
Collaborator

NathanDotTo commented Jun 4, 2017 via email

@shacker
Copy link
Collaborator

shacker commented Jun 5, 2017

We still need a branching strategy though, as we probably don't want every build of main going to PyPi.

My recommendation would be to use git tags to record the version increments, and kick off a pypi build when a new tag is added.

I've also worked on successful oss projects that just relied on someone remembering to do a pypi push when the version changes. Not as elegant, but avoids accidental pushes and works well enough.

@NathanDotTo
Copy link
Collaborator

NathanDotTo commented Jun 5, 2017 via email

@liamks
Copy link
Owner

liamks commented Jun 17, 2017

@NathanDotTo I've logged into Travis and added libpytunes.

@NathanDotTo
Copy link
Collaborator

NathanDotTo commented Jun 17, 2017 via email

@liamks
Copy link
Owner

liamks commented Jun 17, 2017

Yes, I've just added it to the readme.

@liamks
Copy link
Owner

liamks commented Jun 17, 2017

And here's the link https://travis-ci.org/liamks/libpytunes

@NathanDotTo
Copy link
Collaborator

NathanDotTo commented Jun 18, 2017 via email

@shacker
Copy link
Collaborator

shacker commented Jun 24, 2017

Merged. Next steps to getting this on pypi?

@jcquarto
Copy link

did this ever make it to pypi?

@hockeymikey
Copy link

Bump

@saurabhgayali
Copy link
Contributor

Added installation steps through github repo. awaiting PR approval.

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

No branches or pull requests

8 participants