AllenDowney / ThinkStats2

Text and supporting code for Think Stats, 2nd Edition
http://allendowney.github.io/ThinkStats2/
GNU General Public License v3.0
4.03k stars 11.31k forks source link

Add setup.py for thinkstats2 and thinkplot #40

Closed dnouri closed 8 years ago

dnouri commented 8 years ago

This will allow you to conveniently publish thinkstats2 and thinkplot modules on PyPI. This way people can then just pip install thinkstats2 and be able to import those two modules.

Thanks a bunch for a very nice book and useful library. :-)

AllenDowney commented 8 years ago

Thanks!

dnouri commented 8 years ago

Thanks for the merge! Do you wanna go ahead and do a python setup.py register sdist upload to register the project and upload to PyPI? Or do you prefer me to do it? We might want to tag the repository to 1.0 when doing the release.

AllenDowney commented 8 years ago

I should do it. I will probably combine modules from the Think books into a single package. It's on my to-do list!

On Mon, Apr 4, 2016 at 1:00 PM, Daniel Nouri notifications@github.com wrote:

Thanks for the merge! Do you wanna go ahead and do a python setup.py register sdist upload to register the project and upload to PyPI? Or do you prefer me to do it? We might want to tag the repository to 1.0 when doing the release.

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/AllenDowney/ThinkStats2/pull/40#issuecomment-205392906

dnouri commented 8 years ago

Oh okay. Here I'm suggesting to put thinkstats2 and thinkplot into a single package. It's easy because they share a repository. But either way works for me.

AllenDowney commented 8 years ago

My thinking is that I only want to maintain one package, with one set of instructions to install it, and then you can it for any of my books. The modules are not very big, so if people don't use all of them, it's not too bad.

dnouri commented 8 years ago

Got it. Makes perfect sense.

cancan101 commented 8 years ago

Any updates on getting these on pypi ?

AllenDowney commented 8 years ago

@cancan101 @dnouri Ok, I've created a minimal package on PyPi

https://pypi.python.org/pypi?name=thinkx&version=1.0&:action=display

With the source in this repo

https://github.com/AllenDowney/ThinkX

If we can move this conversation over to that repo, I could use any help you can offer in making this package ready for prime time. Thanks!