Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python namespace packages

from setuptools import find_packages, setup

setup(
    name='mynamespace-subpackage-a',
    ...
    packages=find_packages()
    namespace_packages=['mynamespace']
)
Source by packaging.python.org #
 
PREVIOUS NEXT
Tagged: #python #namespace #packages
ADD COMMENT
Topic
Name
2+4 =