Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's good as a skeleton example, but... #13

Open
ymoran00 opened this issue Apr 7, 2019 · 3 comments
Open

It's good as a skeleton example, but... #13

ymoran00 opened this issue Apr 7, 2019 · 3 comments

Comments

@ymoran00
Copy link

ymoran00 commented Apr 7, 2019

... is it possible to add actual py files in the packages to see how their import statements look? I'm not sure in case of namespaces if the import includes the namespaces, if it includes the package names, etc...

@theacodes
Copy link
Member

Hi @ymoran00, can you expand a bit on what you're looking for?

@n1ckdm
Copy link

n1ckdm commented May 9, 2019

Hi @theacodes, if I've understood @ymoran00 correctly then it would be useful to put some modules inside the example and potentially some a setup.py file. In the documentation the folder structure that they use to explain the concepts is:

mynamespace-subpackage-a/
    setup.py
    mynamespace/
        subpackage_a/
            __init__.py

mynamespace-subpackage-b/
    setup.py
    mynamespace/
        subpackage_b/
            __init__.py
        module_b.py

Including a more concrete example that follows the documentation would make it easier for people (like myself) who are new to packaging and deployment understand the concepts and how to implement them.

@theacodes
Copy link
Member

theacodes commented May 11, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants