Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11385
| From | MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | RE:Packaging python-xrayutilities |
| Date | 2019-03-19 14:10 +0100 |
| Message-ID | <xDmFb-7NM-19@gated-at.bofh.it> (permalink) |
| References | <xCWUp-8b8-15@gated-at.bofh.it> <xCXns-9M-21@gated-at.bofh.it> <xDmFc-7NM-21@gated-at.bofh.it> <xD2Gt-3gl-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello,
I resolved my git issue, but when I build the package doc with sphinx-build :
```
make[1]: Entering directory '/<<PKGBUILDDIR>>'
pybuild --build -s custom -p 3.7 --build-args="env PYTHONPATH={build_dir} sphinx-build -bhtml doc/source build/sphinx/html"
I: pybuild base:217: env PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_xrayutilities/build sphinx-build -bhtml doc/source build/sphinx/html
```
I get this error :
```
/<<PKGBUILDDIR>>/doc/source/examples.rst:7: WARNING: Duplicate explicit target name: "here".
WARNING: autodoc: failed to import module 'xrayutilities'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx/ext/autodoc/importer.py", line 154, in import_module
__import__(modname)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_xrayutilities/build/xrayutilities/__init__.py", line 74, in <module>
__version__ = pkg_resources.get_distribution("xrayutilities").version
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 481, in get_distribution
dist = get_provider(dist)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 357, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'xrayutilities' distribution was not found and is required by the application
```
Does someone know how to deal with this kind of issue ?
Thanks in advance. Cheers,
Alex
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-18 10:40 +0100
Re: Packaging python-xrayutilities Florian Pelgrim <fp@craneworks.de> - 2019-03-18 11:10 +0100
RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-18 16:30 +0100
Re: Packaging python-xrayutilities Andrey Rahmatullin <wrar@debian.org> - 2019-03-18 16:30 +0100
RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-18 16:50 +0100
RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-19 14:10 +0100
RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-21 11:10 +0100
Re: Packaging python-xrayutilities Andrey Rahmatullin <wrar@debian.org> - 2019-03-21 11:30 +0100
Re: Packaging python-xrayutilities Andreas Tille <andreas@an3as.eu> - 2019-03-21 11:50 +0100
RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-21 12:00 +0100
RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-21 11:50 +0100
Re: Packaging python-xrayutilities Alex Mestiashvili <amestia@rsh2.donotuse.de> - 2019-03-21 12:10 +0100
RE:Packaging python-xrayutilities MARIE Alexandre <alexandre.marie@synchrotron-soleil.fr> - 2019-03-21 12:20 +0100
Re: Packaging python-xrayutilities Dmitry Shachnev <mitya57@debian.org> - 2019-03-21 12:40 +0100
Re: Packaging python-xrayutilities Dmitry Shachnev <mitya57@debian.org> - 2019-03-21 12:50 +0100
csiph-web