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

PyPi package available? #188

Closed
illegalnumbers opened this issue Nov 16, 2016 · 13 comments
Closed

PyPi package available? #188

illegalnumbers opened this issue Nov 16, 2016 · 13 comments

Comments

@illegalnumbers
Copy link

Hey there!

This looks like it is a great project. I was wondering if it was packaged in PyPi or somewhere so I can import it into my django project without directly cloning the repository. If not I could package it up and get that up and running, although admittedly I am relearning Python after an extended absence.

@illegalnumbers illegalnumbers changed the title pip package available? PyPi package available? Nov 16, 2016
@JoshData
Copy link
Member

Hi @illegalnumbers. Thanks. It's not. And while I see the upside to better packaging, it also requires a little more effort in maintenance (proper versioning, updating pypi) which I don't think anyone here has the time to commit to it.

@illegalnumbers
Copy link
Author

Thanks for the response!

What do you mean by 'updating pypi'?

As for versioning - it could be as simple as semantic versioning, no?

@JoshData
Copy link
Member

What do you mean by 'updating pypi'?

Posting new updates to pypi.

it could be as simple as

Everything takes time.

@illegalnumbers
Copy link
Author

Can't travis do those things for you automatically?

https://docs.travis-ci.com/user/deployment/pypi/

As for versioning it could be done as easily as pushing up a git tag on build as well.

@konklone
Copy link
Member

@illegalnumbers Any way you could help us along with a pull request that sets up the necessary edits to .travis.yml for us to test out?

@illegalnumbers
Copy link
Author

Yea sure! I will be incapacitated all week this week due to surgery but after I start feeling better I'd be fine with doing a pull request.

@illegalnumbers
Copy link
Author

So while building the setup.py for PyPi to work I need an email address associated with the maintainer of the package...is there something specific I should use there? For the example they show just using a googlegroup or something so it doesn't have to be a direct line to anyone.

@illegalnumbers
Copy link
Author

illegalnumbers commented Dec 8, 2016

Additionally - pip provides entry_points as an alternative to having scripts in your package that are runnable. Would it be preferentially to port the commands from the script directory to various entry_points since it's platform independent? I could try and get that up too.

@illegalnumbers
Copy link
Author

illegalnumbers commented Dec 8, 2016

Just to show progress. If anyone wants like owner access or whatever let me know and I can grant it. I need to do some fiddling with my local repo before opening a PR. I had to use 'united-states-' since 'congress' was already taken.

EDIT: Also, this is a good time to bring up releases - is there a release strategy for this project?

@illegalnumbers
Copy link
Author

Well after toying with this for days I can see why you didn't just use PyPi to begin with. The setup of this is incredibly poor and makes me grateful I write Ruby for a living. Still trying to figure out why some dependencies don't get installed, are missing from certain repo's in a test environment, etc.

@illegalnumbers
Copy link
Author

Seems I'm getting nowhere with the test PyPi package. It works when you install from prod PyPi so I'm going to leave it at that for now.

Someone test this out for me if you will pip install united-states-congress

Pull request incoming for this.

@acxz
Copy link
Contributor

acxz commented Apr 20, 2022

@JoshData can this issue be closed in favor of #282

@JoshData
Copy link
Member

@illegalnumbers Hey. I pinged you on Twitter about taking over the pypi package. (I completely forgot about this issue.) Hope to hear back (there or here or in #282). Thanks.

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 a pull request may close this issue.

4 participants