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

Conflicting files due to installation of examples #242

Closed
dvzrv opened this issue Sep 15, 2018 · 2 comments · Fixed by #243
Closed

Conflicting files due to installation of examples #242

dvzrv opened this issue Sep 15, 2018 · 2 comments · Fixed by #243
Assignees
Labels

Comments

@dvzrv
Copy link

dvzrv commented Sep 15, 2018

There is a file conflict between flasgger and micawber, because both install files into the too generic path name examples.
For reference, please see this Arch Linux bug and this bug with micawber.

As a solution, micawber and flasgger should either not install these examples at all, or if required into a unique directory (e.g. micawber-examples) or another system directory (e.g. on Linux: /usr/share/doc/python-micawber/examples, which is usually done by the packagers).

I will remove them for now to resolve the file conflict.

@rochacbruno
Copy link
Member

I think it is a bug examples should not be installed.

Thanks for reporting.

@rochacbruno
Copy link
Member

the solution is a change in setup.py adding

packages=find_packages(
        exclude=['tests', 'tests.*', 'examples', 'examples.*', 'demo_app', 'demo_app.*']
    ),

rochacbruno added a commit that referenced this issue Sep 15, 2018
#fix #242
@rochacbruno rochacbruno mentioned this issue Sep 15, 2018
@rochacbruno rochacbruno self-assigned this Sep 15, 2018
javabrett added a commit that referenced this issue Sep 18, 2018
Fix #242 - excludes demo_app, examples, tests and etc from bdist.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants