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

Python - setuptools #31

Open
happykhan opened this issue Sep 12, 2016 · 3 comments
Open

Python - setuptools #31

happykhan opened this issue Sep 12, 2016 · 3 comments
Assignees

Comments

@happykhan
Copy link

Your setup in the python template probably wont work if the user doesnt have setuptools installed. which is actually common.

Something like this in setup.py would be good:

try:
    from setuptools import setup
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()

I have a copy of ez_setup here: https://github.com/BeatsonLab-MicrobialGenomics/samplemod/blob/master/ez_setup.py

@tseemann
Copy link
Contributor

@bjpop - this could be in the python README if it isn't already?

@bjpop
Copy link
Contributor

bjpop commented Oct 10, 2016

I think it is about the use of pkg_resources, which seems to come from setuptools.

A little bit of reading suggests that more reading is required. Python packaging seems to be a bit of a mess.

@ewels
Copy link

ewels commented Jul 21, 2020

For what it's worth, I don't think that I've ever had an issue related to this with MultiQC (which uses setuptools).

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