Differences between revisions 7 and 8
Revision 7 as of 2009-01-27 15:31:13
Size: 3460
Editor: tarek
Comment: I remove the question about setuptools because it's a third-party tool, (see question about it) + undesirable side effecte (we can have some unfortunately - TBD)
Revision 8 as of 2009-01-27 15:38:29
Size: 3590
Editor: tarek
Comment:
Deletions are marked like this. Additions are marked like this.
Line 27: Line 27:
 * How do you install a package that does not provide an installer most of the time ? (one answer)

   >> in this question, does "installer" mean setup.py or some other facility? <<
 * How do you install a package that does not provide an standalone installer (not setup.py) most of the time ? (one answer)
Line 46: Line 44:
 * Do you work with namespaced packages ? (one answer)  * Do you work with setuptools' namespaced packages ? A namespace package is a package that may be split across multiple
   project distributions. For example, Zope 3's zope package is a namespace package, because subpackages like zope.interface
   and zope.publisher may be distributed separately (see http://peak.telecommunity.com/DevCenter/setuptools)(one answer)
Line 50: Line 50:
  3. What are "namespaced packages"?

  >> seriously, you want to know if there is a feature that people don't know about <<

Part 1, how do you work ?

  • Who are you ? (describe in a few sentence what do you do with Python)
    • <open question>

  • How do you organize your application code most of the time ? (one answer)
    1. I put everything in one package
    2. I create several packages and use a main package or script to launch the application
    3. I create several packages and use a tool like zc.buildout or Paver to distribute the whole application
    4. I use my own mechanism for aggregating packages into a single install.
  • What is the main tool or combination of tools you are using to package and distribute your Python application ? (one answer)
    1. None
    2. distutils
    3. setuptools
    4. zc.buildout and setuptools
    5. zc.buildout and distutils
    6. Paver and distutils
    7. Paver and setuptools
    8. Other : <say which>

  • How do you install a package that does not provide an standalone installer (not setup.py) most of the time ? (one answer)
    1. I use easy_install
    2. I use pip
    3. I download it and run manually the install command
    4. I use the packaging tool provided in my system (apt, yum, etc)
    5. Other : <say which>

  • How do you remove a package ? (one answer)
    1. manually, by removing the folder and fixing the .pth files
    2. using the packaging tool (apt, yum, etc)
    3. I use one virtualenv per application, so the main python is never polluted
    4. I change PYTHONPATH to include a directory of the packages used by my application, then remove just that directory
  • Do you work with setuptools' namespaced packages ? A namespace package is a package that may be split across multiple
    1. Yes
    2. No
  • Did PyPI became mandatory in your everyday work (if you use zc.buildout for exampel) ? (one answer)
    1. Yes
    2. No
  • If you previously answered Yes, did you set up an alternative solution (mirror, cache..) in case PyPI is down ? (one answer)
    1. Yes
    2. No
  • Do you register your packages to PyPI ? (one answer)
    1. Yes
    2. No
  • Do you upload your package to PyPI ? (one answer)
    1. Yes
    2. No
  • If you previously answered No, how do you distribute your packages ? (one answer)
    1. One my own website, using simple links
    2. One my own website, using a PyPI-like server
    3. On a forge, like sourceforge
  • Where are you located ?
    • <open question>

Part 2, What's missing ? What is wrong ?

  • What are in your opinion, the 5 most important problems (bad behaviors or lacks) in Distutils today ?
    • <open question>

  • Would you like to see Python's Distutils package provide an uninstall command that removes just the files installed, and cleanup the .pth, even if it does undesirable things ? (one answer)
    1. Yes
    2. No
  • Would you like to see Python's Distutils package provide an uninstall command that correctly removes the files installed by a package (without taking care of possible side-effect) **effects ti be listed here** ? (one answer)
    1. Yes
    2. No
  • What are the 5 most important features that exists in third-party tools, you would like to see included by the Python standard Library ?
    • <open question>

  • What are the other things you like to say in order to help building Distutils roadmap ?
    • <open question>

Packaging Survey (last edited 2009-03-08 12:35:09 by tarek)

Unable to edit the page? See the FrontPage for instructions.