• Home
  • Raw
  • Download

Lines Matching +full:publish +full:- +full:pypi

1 .. _setup-script:
13 :ref:`distutils-simple-example` above, the setup script consists mainly of a call to
33 url='https://www.python.org/sigs/distutils-sig/',
37 There are only two differences between this and the trivial one-file
38 distribution presented in section :ref:`distutils-simple-example`: more metadata, and the
43 meta-data, see section :ref:`meta-data`.
46 should be written using the Unix convention, i.e. slash-separated. The
47 Distutils will take care of converting this platform-neutral representation into
51 pathnames in this document are slash-separated.
62 .. _listing-packages:
109 .. _listing-modules:
115 than listing packages---especially the case of a single module that goes in the
117 section :ref:`distutils-simple-example`; here is a slightly more involved example::
128 .. _describing-extensions:
162 The :class:`Extension` class (actually, the underlying extension-building
169 ----------------------------
200 ----------------------
204 files. Since the Distutils currently only support C, C++, and Objective-C
205 extensions, these are normally C/C++/Objective-C source files. (Be sure to use
221 swig_opts=['-modern', '-I../include'])],
227 > python setup.py build_ext --swig-opts="-modern -I../include"
229 On some platforms, you can include non-source files that are processed by the
237 --------------------
254 You should avoid this sort of non-portable usage if you plan to distribute your
265 directory---\ :file:`/usr/local/include/python1.5` in this case---is always
281 Even though this is quite portable---it will work on any Python installation,
282 regardless of platform---it's probably easier to just write your C code in the
285 You can define and undefine pre-processor macros with the ``define_macros`` and
309 ---------------
314 to search for libraries at link-time, and ``runtime_library_dirs`` is a list of
315 directories to search for shared (dynamically loaded) libraries at run-time.
323 If you need to link with libraries in a non-standard location, you'll have to
330 (Again, this sort of non-portable construct should be avoided if you intend to
337 -------------
399 +-------------------------+----------------------------------------------+
403 +-------------------------+----------------------------------------------+
406 +-------------------------+----------------------------------------------+
417 +---------------------+----------------------------------------------+
422 +---------------------+----------------------------------------------+
425 +---------------------+----------------------------------------------+
438 .. _distutils-installing-scripts:
443 So far we have been dealing with pure and non-pure Python modules, which are
451 the current interpreter location. The :option:`!--executable` (or :option:`!-e`)
466 .. _distutils-installing-package-data:
514 .. _distutils-additional-files:
558 .. _meta-data:
560 Additional meta-data
563 The setup script may include additional meta-data beyond the name and version.
566 +----------------------+---------------------------+-----------------+--------+
567 | Meta-Data | Description | Value | Notes |
570 +----------------------+---------------------------+-----------------+--------+
572 +----------------------+---------------------------+-----------------+--------+
574 +----------------------+---------------------------+-----------------+--------+
577 +----------------------+---------------------------+-----------------+--------+
579 +----------------------+---------------------------+-----------------+--------+
582 +----------------------+---------------------------+-----------------+--------+
584 +----------------------+---------------------------+-----------------+--------+
588 +----------------------+---------------------------+-----------------+--------+
591 +----------------------+---------------------------+-----------------+--------+
594 +----------------------+---------------------------+-----------------+--------+
596 +----------------------+---------------------------+-----------------+--------+
598 +----------------------+---------------------------+-----------------+--------+
600 +----------------------+---------------------------+-----------------+--------+
602 +----------------------+---------------------------+-----------------+--------+
614 provided, distutils lists it as the author in :file:`PKG-INFO`.
617 The ``long_description`` field is used by PyPI when you publish a package,
632 `PyPI <https://pypi.org/classifiers>`_.
636 you pass a comma-separated string ``'foo, bar'``, it will be converted to
655 increments when bug-fix releases are made. Additional trailing version
656 information is sometimes used to indicate sub-releases. These are
659 (for final pre-release release testing). Some examples:
671 'Development Status :: 4 - Beta',
692 .. _debug-setup-script: