[{"user_id": 8391, "stars": [], "topic_id": 7522, "date_created": 1298153591.0581131, "message": "it's not so much that, it's how *horribly* documented this part of python is", "group_id": 292, "id": 150706}, {"user_id": 8391, "stars": [], "topic_id": 7522, "date_created": 1298153456.8739631, "message": "joshourisman: installation via pip?", "group_id": 292, "id": 150702}, {"user_id": 8391, "stars": [{"date_created": 1298170842.0332129, "user_id": 1153}], "topic_id": 7522, "date_created": 1298153574.8007419, "message": "https://github.com/kennethreitz/krpython/blob/master/setup.py#L46-50", "group_id": 292, "id": 150705}, {"user_id": 2024, "stars": [], "topic_id": 7522, "date_created": 1298153770.688617, "message": "@kennethreitz ah, cool!", "group_id": 292, "id": 150717}, {"user_id": 8391, "stars": [], "topic_id": 7522, "date_created": 1298154089.6625681, "message": "carlim: ah, i wouldn't know.", "group_id": 292, "id": 150728}, {"user_id": 8391, "stars": [], "topic_id": 7522, "date_created": 1298154242.3622961, "message": "i just know i'm supposed to use distribute :)", "group_id": 292, "id": 150733}, {"user_id": 8391, "stars": [], "topic_id": 7522, "date_created": 1298154093.8837259, "message": "I'm a distribute guy :)", "group_id": 292, "id": 150729}, {"user_id": 8391, "stars": [], "topic_id": 7522, "date_created": 1298153671.5778961, "message": "joshourisman: tablib was originally going to have a cli component :) https://github.com/kennethreitz/tablib/blob/8c402da729598979322f13cab9fb4dd63a1000a5/setup.py#L40", "group_id": 292, "id": 150713}, {"user_id": 2024, "stars": [{"date_created": 1298170834.7147119, "user_id": 1153}], "topic_id": 7522, "date_created": 1298152828.44769, "message": "This is something I feel like I should already know, but apparently don't... If I'm building a command line tool with Python (as I did with Adamanteus: https://github.com/joshourisman/Adamanteus), how do I package it so that I can have a nice executable, but don't have to have everything crammed into one giant file?", "group_id": 292, "id": 150679}, {"user_id": 2024, "stars": [], "topic_id": 7522, "date_created": 1298153525.0155189, "message": "@kennethreitz right, I guess my question is what should the setup.py look like to do that. I suck at this part of Python. :)", "group_id": 292, "id": 150704}, {"user_id": 2024, "stars": [], "topic_id": 7522, "date_created": 1298154189.1547251, "message": "Durr, completely misread @carljm's post about it not working with distutils as it not working with distribute... So Python 3 should be fine.", "group_id": 292, "id": 150730}, {"user_id": 8391, "stars": [], "topic_id": 7522, "date_created": 1298153604.3024869, "message": "I really want to build a site with just general guides for everything", "group_id": 292, "id": 150709}, {"user_id": 214, "stars": [], "topic_id": 7522, "date_created": 1298153607.5221319, "message": "That's setuptools-only.", "group_id": 292, "id": 150710}, {"user_id": 214, "stars": [], "topic_id": 7522, "date_created": 1298153614.0643981, "message": "(Which is probably how you should do it)", "group_id": 292, "id": 150711}, {"user_id": 8391, "stars": [], "topic_id": 7522, "date_created": 1298153680.1113081, "message": "back when it was called 'tabbed' *blech*", "group_id": 292, "id": 150714}, {"user_id": 214, "stars": [], "topic_id": 7522, "date_created": 1298154861.055645, "message": "distribute is a fork of setuptools. Either way you've got \"from setuptools import setup\" at the top of setup.py, which is all I meant.", "group_id": 292, "id": 150765}, {"user_id": 214, "stars": [], "topic_id": 7522, "date_created": 1298154892.3514781, "message": "All I meant was you can't use entry_points if your setup.py has \"from distutils.core import setup\" up top.", "group_id": 292, "id": 150770}, {"user_id": 214, "stars": [], "topic_id": 7522, "date_created": 1298154974.038059, "message": "FWIW, the choice between distribute and setuptools is an end-user choice, not a packager choice. The packager does exactly the same thing in either case: \"from setuptools import setup\" - it's the end user that determines whether the \"setuptools\" package on their system is provided by setuptools or distribute.", "group_id": 292, "id": 150775}, {"user_id": 214, "stars": [], "topic_id": 7522, "date_created": 1298153626.3262291, "message": "But just to save you some confusion if you try that in a pure-distutils setup.py and it doesn't work.", "group_id": 292, "id": 150712}, {"user_id": 2024, "stars": [], "topic_id": 7522, "date_created": 1298153781.3088629, "message": "Now what if I wanted to do it with Python 3? :D", "group_id": 292, "id": 150719}, {"user_id": 8391, "stars": [], "topic_id": 7522, "date_created": 1298154229.02177, "message": "Yeah, I think so", "group_id": 292, "id": 150731}, {"user_id": 8391, "stars": [], "topic_id": 7522, "date_created": 1298154237.2608271, "message": "honestly i don't really know the difference between any of them", "group_id": 292, "id": 150732}, {"user_id": 214, "stars": [], "topic_id": 7522, "date_created": 1298154876.7298789, "message": "distutils is the stdlib packaging thing that setuptools/distribute build on.", "group_id": 292, "id": 150767}, {"user_id": 214, "stars": [], "topic_id": 7522, "date_created": 1298155003.9824269, "message": "Well, the end user or their operating system distributor :-)", "group_id": 292, "id": 150780}, {"user_id": 2863, "stars": [], "topic_id": 7522, "date_created": 1298262458.8352361, "message": "I don't know if I would go as far as to say it's only for end-users. As a developer you might come up against bugs in setuptools that distribute has fixed. You can require users to use distribute over setuptools at pointed out by http://packages.python.org/distribute/using.html.", "group_id": 292, "id": 155996}, {"user_id": 4748, "stars": [{"date_created": 1298265485.6752739, "user_id": 4156}, {"date_created": 1298265825.2518089, "user_id": 8391}, {"date_created": 1298302095.5497451, "user_id": 214}, {"date_created": 1298346131.689261, "user_id": 3354}], "topic_id": 7522, "date_created": 1298264978.8801839, "message": "All I know is that coming to the python ecosystem cold, figuring out the whole distribution and packaging process was more than a minor nightmare. I'm basically an evangelist for proper python packaging in my organization and I'm still not sure I know how all the pieces fit together.", "group_id": 292, "id": 156470}, {"user_id": 214, "stars": [], "topic_id": 7522, "date_created": 1298302220.536097, "message": "@brettcannon The recommendations on that page you linked are bad advice and should be removed. Any non-packaging-related software that takes it upon itself to unilaterally modify my package-installation toolchain is anti-social and badly-behaved software. That goes equally for setuptools' ez_setup.py and distribute's distribute_setup.py; I'd consider the use of either one a serious bug.", "group_id": 292, "id": 159379}, {"user_id": 2863, "stars": [{"date_created": 1298361452.7379501, "user_id": 214}], "topic_id": 7522, "date_created": 1298315342.420805, "message": "Well, distutils2 (which is going into 3.3 and will be made available externally from Python 2.4 and up) will help solve this entire mess by being the thing everyone gravitates towards.", "group_id": 292, "id": 163065}, {"user_id": 4748, "stars": [{"date_created": 1298436072.970196, "user_id": 8391}], "topic_id": 7522, "date_created": 1298426922.335959, "message": "That's always sort of bugged me about distribute; it isn't clear why it gets away with masking existing functionality and still gets to be considered a good citizen. I suppose it's a bootstrap thing... it's not like setup scripts are a good place to have dependency problems.", "group_id": 292, "id": 185513}, {"user_id": 5701, "stars": [{"date_created": 1298498606.6162879, "user_id": 6671}], "topic_id": 7522, "date_created": 1298498223.504797, "message": "@kura: stdeb and pypi-install are also great fun.", "group_id": 292, "id": 191598}, {"user_id": 15368, "stars": [], "topic_id": 7522, "date_created": 1298498042.7433679, "message": "It's pretty damn easy to package up as .deb files too, requires a little tinkering of the build scripts but they can be told to use a setup.py file or you can simply build the .deb file yourself instead of using the dpkg tools.", "group_id": 292, "id": 191570}, {"user_id": 15368, "stars": [], "topic_id": 7522, "date_created": 1298499778.5653, "message": "@jpcalderone I'd honestly never seen stdeb before, thanks for that!", "group_id": 292, "id": 192103}, {"user_id": 2588, "stars": [], "topic_id": 7522, "date_created": 1298501168.960917, "message": "@jpcalderone Do you know if stdeb makes pre/post-installation hooks available like checkinstall does?", "group_id": 292, "id": 192408}, {"user_id": 2588, "stars": [], "topic_id": 7522, "date_created": 1298501445.1872971, "message": "stdeb looks like some effort has gone into it. I haven't used checkinstall for anything fancy either, but the the pre/post hooks you can easily do things like create and teardown a virtualenv when the .deb is installed/removed", "group_id": 292, "id": 192483}, {"user_id": 5701, "stars": [], "topic_id": 7522, "date_created": 1298501326.9348121, "message": "unbracketed: I'm not sure. I haven't used it for anything too fancy.", "group_id": 292, "id": 192455}]