find_packages — setuptools documentation
code.nabla.net › setuptools › setuptoolsfind_packages. ¶. Function defined in setuptools. find_packages(where='.', exclude= ()) ¶. Return a list all Python packages found within directory ‘where’. ‘where’ should be supplied as a “cross-platform” (i.e. URL-style) path; it will be converted to the appropriate local path syntax. ‘exclude’ is a sequence of package names to exclude; ‘*’ can be used as a wildcard in the names, such that ‘foo.*’ will exclude all subpackages of ‘foo’ (but not ‘foo’ itself).
What is "where" argument for in setuptools.find_packages?
stackoverflow.com › questions › 51286928Jul 11, 2018 · from setuptools import setup, find_packages setup( name='my_project', packages=find_packages(where='./source'), description='My project to be packaged', version='1.0.0', author='me' install_requires=[ 'fastnumbers~=2.0.1', 'numpy~=1.14.1', 'pandas~=0.22.0' ], extras_require={ 'dev': ['check-manifest'], 'test': [ 'mock', 'PyHamcrest', 'pytest', 'pytest-cov' ], } )