Lines Matching full:setup

25 ``py_modules`` option in the setup script.
27 In the simplest case, you'll have two files to worry about: a setup script and
31 setup.py
35 directory.) A minimal setup script to describe this situation would be::
37 from distutils.core import setup
38 setup(name='foo',
51 setup might look like this::
54 setup.py
58 and the setup script might be ::
60 from distutils.core import setup
61 setup(name='foobar',
83 The setup script from the last example could also be written as ::
85 from distutils.core import setup
86 setup(name='foobar',
97 setup.py
104 from distutils.core import setup
105 setup(name='foobar',
117 setup.py
124 requires the least work to describe in your setup script::
126 from distutils.core import setup
127 setup(name='foobar',
137 setup.py
143 an appropriate setup script would be ::
145 from distutils.core import setup
146 setup(name='foobar',
156 setup.py
161 in which case your setup script would be ::
163 from distutils.core import setup
164 setup(name='foobar',
179 setup.py
188 then the corresponding setup script would be ::
190 from distutils.core import setup
191 setup(name='foobar',
208 setup.py
211 If the :mod:`foo` extension belongs in the root package, the setup script for
214 from distutils.core import setup
216 setup(name='foobar',
226 from distutils.core import setup
228 setup(name='foobar',
239 To run it, just call it using your :file:`setup.py` script. If something is
244 from distutils.core import setup
246 setup(name='foobar')
252 $ python setup.py check
263 For example, if the :file:`setup.py` script is changed like this::
265 from distutils.core import setup
274 setup(name='foobar', version='1', author='tarek',
283 $ python setup.py check --restructuredtext
291 The :func:`distutils.core.setup` function provides a command-line interface
293 ``setup.py`` script of a given project:
297 $ python setup.py --name
301 :func:`distutils.core.setup` function. Although, when a source or binary