Skip to content

Commit

Permalink
Add option section in setup.cfg
Browse files Browse the repository at this point in the history
- [options] This section provides additional options for Setuptools package builds.
- [options].package_dir This is a list of key, value pairs to map discovered direct
                        ories to import paths. An empty key means the "root,"  such
                        that  any directory mapped to the root will be removed from
                        the import path and only its child directories will be incl
                        uded.
- [options].packages    This is either an explicit list of packages, or the special
                        find: directive that tells Setuptools to recursively search
                        for any packages. is often the find: best choice, as you wo
			n’t need to update it if you add new packages later.
[options.packages.find] This section provides options to the Setuptools package dis
			covery process triggered by the directive. find:
[options.packages.find].where This tells Setuptools which directory to look in  for
			       packages.
  • Loading branch information
kinderp committed Dec 23, 2021
1 parent 0c443bb commit eeb5be3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ long_description_content_type = text/markdown
license = MIT
license_files = LICENSE
classifiers = License :: OSI Approved :: MIT License
[options]
package_dir =
=src
packages = find:
[options.packages.find]
where = src

0 comments on commit eeb5be3

Please sign in to comment.