Commits

Éric Araujo committed b95024a

Update config file example now that we have a separate discussion doc

Comments (0)

Files changed (1)

 requires-external = libxml2
 
 [files]
-# specifying packages and modules not yet covered by any PEP, TBD
-# proposal:
-#   "modules" key
-#   whitespace-separated values (a simple project may have a few modules
-#            separated with spaces, a larger one would use newlines, and
-#            everything'll be readable and valid)
-#   each entry is path:module (where module can also be a package)
-#   recursive (includes all sub-packages and modules by default)
-#   can also accept top-level module names
-#   specifying a non-top-level package should only be for a namespace pkg
-#           (is it an error if you don't have PEP 382 .pth file?)
-#   "exclude_modules" key for exceptions to auto-recursion
+# see new-config-file.rst
 modules = ship
           src:parrot
           src:mr.parrot
           src2:more
 exclude_modules = src:parrot.tests
 
-# this will require another section to give all required options to make an
-# Extension instance (source files, headers, macros..)
-ext_modules = src2:more.less
-
-# scripts not yet specified in a PEP, TBD
-# proposal:
-#   similar to current distutils behavior
-#   possibly add a pkgutil API call to fix sys.path for dev
-#   "scripts" key with relative paths to script files
-# lots of advantages to just specifying a callable a la console_scripts
-# see also Python bug #870479 (platform-specific handling, i.e. adapt
-#           EOLs, add a .py extension on win, etc.)
 scripts = bin/foof
 
-# sdist_files not yet specified in a PEP, TBD
-# proposal:
-#   list of pathnames to files that should be included in the sdist but not
-#           installed.  The path is relative to the top-level dir of the
-#           source tree.
-sdist_files = README.rst
+[extension: more.less]
+sources = src2/more/less.c
+
+# Following sections are not covered in new-config-file.rst
 
 # this syntax is proposed in http://wiki.python.org/moin/Distutils2
 # the {} variables are looked up in a system-wide sysconfig.cfg