Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

Error while converting setup.py... #121

Open
gour opened this issue Sep 12, 2012 · 0 comments
Open

Error while converting setup.py... #121

gour opened this issue Sep 12, 2012 · 0 comments
Milestone

Comments

@gour
Copy link

gour commented Sep 12, 2012

Hello,

attempt to convert pyswisseph package to Bento (0.1.1) gives:

gour@atmarama ~/t/p/pyswisseph-1.77.00-0 $ bentomaker convert -v
Catching monkey (this may take a while) ...
----------------- Testing distutils ------------------
----------------- Testing setuptools -----------------
------------ Testing numpy.distutils -----------------
--- Testing numpy.distutils patched by setuptools ----
Is distutils ? True
Is setuptools ? True
Is numpy distutils ? False
Is setuptools numpy ? False
Detected mode: setuptools
warning: sdist: manifest template 'MANIFEST.in' does not exist (using
default file list)
Error while converting setup.py - you may look at convert.log for details
(Original exception: <class 'bento.errors.InvalidPackage'> Invalid version:
'1.77.00-0' (suggested version: 1.77.0.post0))
(You can see the traceback by setting the BENTOMAKER_DEBUG=1 environment
variable)

Here is the snippet from convert.log:

Error while converting - traceback:
  File "/usr/lib/python2.7/site-packages/bento/convert/commands.py", line
83, in run
    convert(ctx, filename, setup_args, monkey_patch_mode, o.verbose,
output, log, show_output)
  File "/usr/lib/python2.7/site-packages/bento/convert/commands.py", line
114, in convert
    pkg, options = build_pkg(dist, package_objects, ctx.top_node)
  File "/usr/lib/python2.7/site-packages/bento/convert/core.py", line 274,
in build_pkg
    pkg = distutils_to_package_description(dist)
  File "/usr/lib/python2.7/site-packages/bento/conv.py", line 160, in
distutils_to_package_description
    return PackageDescription(**data)
  File "/usr/lib/python2.7/site-packages/bento/core/package.py", line 277,
in __init__
    _set_metadata(self, **kw)
  File "/usr/lib/python2.7/site-packages/bento/core/meta.py", line 34, in
_set_metadata
    % (version, suggest_normalized_version(version)))

And the URL for the package is:

http://pypi.python.org/pypi/pyswisseph/1.77.00-0

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

No branches or pull requests

1 participant