Comments (5)
Link to a related issue in devpi: https://bitbucket.org/hpk42/devpi/issues/246/import-error-when-importing-with-devpi
from setuptools_scm.
could you check if the refereed pr is roughly what you'd expect?
from setuptools_scm.
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.
please uninstall the previously installed version
from setuptools_scm.
Pull request works as expected. Thanks!
from setuptools_scm.
Related Issues (20)
- Documented `.git_archival.txt` is not reproducible HOT 1
- Incorrect documentation regarding docker cache HOT 2
- Don't use tag from repo for version HOT 18
- test_build_c_ext fails on Python 3.12 in Arch Linux HOT 1
- version 8 silently breaks version detection HOT 2
- latest version of git breaks setuptools_scm with python3.9 HOT 2
- `devX` tags get special treatment HOT 4
- 8.0.4: `ruff` warning
- UserWarning: tag 'v.xxx' no version found HOT 3
- 8.1.0: `test_dump_version_flake8` fails with `D100 Missing docstring in public module` HOT 1
- Python version limit HOT 5
- setuptools_scm looks for setup.cfg when python -m used for pip install HOT 2
- Cut a new release HOT 6
- Different hash (length) in generated name HOT 6
- final version as environment variable HOT 1
- Calculate distance in a git monorepo just for the current project's path HOT 7
- How to filter out `.gitignore` with `python -m build --sdist` HOT 4
- SETUPTOOLS_SCM_PRETEND_VERSION: parse node & distance HOT 7
- Remove automated commits from release notes HOT 2
- KeyError on Flask app using `pyinstaller` with `setuptools_scm` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from setuptools_scm.