File: using.txt

package info (click to toggle)
distribute 0.6.24-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,052 kB
  • sloc: python: 10,224; ansic: 198; makefile: 133
file content (21 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
================================
Using Distribute in your project
================================

To use Distribute in your project, the recommended way is to ship
`distribute_setup.py` alongside your `setup.py` script and call 
it at the very begining of `setup.py` like this::

    from distribute_setup import use_setuptools
    use_setuptools()

Another way is to add ``Distribute`` in the ``install_requires`` option::

    from setuptools import setup

    setup(...
          install_requires=['distribute']
    )


XXX to be finished