Skip to content

Sub-packages are not installed with setuptools/distutils #52

@ghost

Description

While working on another project, I noticed that neither distutils nor setuptools automatically install python packages within packages and this also applies to marmoset. So after installing marmoset with the setup.py, the marmoset package is installed but the packages within it are not, e.g.:

root@hpo:/tmp/marmoset# ls /usr/local/lib/python3.4/dist-packages/marmoset-0.5.0-py3.4.egg/marmoset/
app.py  config.py  __init__.py  __pycache__  validation.py

The easiest way to solve this I found is to add the packages within marmoset explicitly to the liste of packages (e.g. ['marmoset', 'marmoset.cli'] etc.) but perhaps there is a more elegant way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions