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

paver bdist_wheel failure #178

Open
tathagata opened this issue Jun 17, 2017 · 4 comments
Open

paver bdist_wheel failure #178

tathagata opened this issue Jun 17, 2017 · 4 comments
Projects

Comments

@tathagata
Copy link

On executing paver bdist_wheel I keep getting
Build failed: Unknown task:bdist_wheel

Used paver generate_setup to generate setup.py, and my pavement.py is simple enough

 options(
        setup=dict(
        name='foo',
        ...
        )
  )

It seems like I do not have my imports right, and been shooting in the dark trying to import everything - just hoping to get it working.

from paver.easy import *
from paver.setuputils import *
from paver.tasks import *`

installed versions

pip-9.0.1
wheel==0.29.0
Paver==1.2.4
@Almad
Copy link
Member

Almad commented Jun 20, 2017

@tathagata Can I just also ask what your Python and OS version is? Are you executing it directly in the OS, or do you use virtualenv?

@tathagata
Copy link
Author

@Almad thanks for replying.
I used OS X, Python version 3.4.3 with pyenv

tdasgupt $ uname -a
Darwin 2usmtdasgupt.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar  3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64 
tdasgupt  $ python -V
Python 3.4.3

Here is doing the same on Ubuntu and Python 3.5.3 and virtualenv

 (tptest) t (master) project $ python -V
 Python 3.5.3
 (tptest) t (master) terrestrial-pipeline-submitter $ uname -a
 Linux vb 4.10.0-22-generic #24-Ubuntu SMP Mon May 22 17:43:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
 (tptest) t (master) project $ python -m pip install -r requirements_dev.txt
  ... 
  Collecting paver==1.2.4 (from -r requirements_dev.txt (line 3))
      Using cached Paver-1.2.4-py2.py3-none-any.whl
  ...
  Installing collected packages: pycodestyle, pyflakes, mccabe, flake8, py, pytest, paver
  Successfully installed flake8-3.3.0 mccabe-0.6.1 paver-1.2.4 py-1.4.34 pycodestyle-2.3.1 pyflakes-1.5.0 pytest-3.0.3
  (tptest) t (master) project $ python -m paver --version
  Paver 1.2.4
  (tptest) t (master) project $ python -m paver bdist_wheel
  Build failed: Unknown task: bdist_wheel

I doubt this is an os or version issue. I'm trying to look at other projects to find examples, but don't see anything that is immediately obvious.

Thanks once again for replying.

@tathagata
Copy link
Author

@Almad if you get a chance, could you point me to any project that you have come across which is creating wheels with paver? Would love to see if I can make this work somehow.

@Almad
Copy link
Member

Almad commented Jun 26, 2017

@tathagata I am not aware of any directly, but you can try writing in the mailing list. Will try to look into it as well :)

@Almad Almad added this to To Do in Paver 1.3 Dec 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Paver 1.3
  
To Do
Development

No branches or pull requests

2 participants