Giter VIP home page Giter VIP logo

Comments (5)

StephanErb avatar StephanErb commented on August 11, 2024

Link to a related issue in devpi: https://bitbucket.org/hpk42/devpi/issues/246/import-error-when-importing-with-devpi

from setuptools_scm.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on August 11, 2024

could you check if the refereed pr is roughly what you'd expect?

from setuptools_scm.

StephanErb avatar StephanErb commented on August 11, 2024

From reading the code, the patch looks good. However, I cannot test:

→ python setup.py egg_info
important note:

the setup of setuptools_scm is self-using,
the first execution of `python setup.py egg_info`
will generate partial data
its critical to run `python setup.py egg_info`
once before running sdist or easy_install on a fresh checkouts

pip usage is recommended

Traceback (most recent call last):
  File "setup.py", line 113, in <module>
    setuptools.setup(**arguments)
  File "/usr/lib/python2.7/distutils/core.py", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "/tmp/pawesome/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 272, in __init__
    _Distribution.__init__(self,attrs)
  File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
  File "/tmp/pawesome/venv/local/lib/python2.7/site-packages/setuptools/dist.py", line 327, in finalize_options
    ep.load()(self, ep.name, value)
  File "/tmp/pawesome/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2355, in load
    return self.resolve()
  File "/tmp/pawesome/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2365, in resolve
    raise ImportError(str(exc))
ImportError: 'module' object has no attribute 'setuptools_version_keyword'

from setuptools_scm.

RonnyPfannschmidt avatar RonnyPfannschmidt commented on August 11, 2024

please uninstall the previously installed version

from setuptools_scm.

StephanErb avatar StephanErb commented on August 11, 2024

Pull request works as expected. Thanks!

from setuptools_scm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.