Hiya! When you do this import:
|
from pyDeltaRCM import shared_tools |
You are technically importing your module before you've installed it, so all the dependencies are expected to be there:
File "/tmp/tmp9e8wd_fn/pyDeltaRCM/pyDeltaRCM/__init__.py", line 1, in <module>
from .model import DeltaModel
File "/tmp/tmp9e8wd_fn/pyDeltaRCM/pyDeltaRCM/model.py", line 7, in <module>
from .iteration_tools import iteration_tools
File "/tmp/tmp9e8wd_fn/pyDeltaRCM/pyDeltaRCM/iteration_tools.py", line 7, in <module>
import matplotlib.pyplot as plt
If you just need the version:
|
version=shared_tools._get_version(), |
perhaps you could just read it statically from a file? Or some other means? There are ways to install specific modules before running your main setup, e.g.,
from setuptools import dist
dist.Distribution().fetch_build_eggs(['numpy>=1.10'])
But I don't think this applies here because you are trying to use the shared_tools in your module, and thus import everything.
Hiya! When you do this import:
pyDeltaRCM/setup.py
Line 4 in 929ce08
You are technically importing your module before you've installed it, so all the dependencies are expected to be there:
If you just need the version:
pyDeltaRCM/setup.py
Line 7 in 929ce08
perhaps you could just read it statically from a file? Or some other means? There are ways to install specific modules before running your main setup, e.g.,
But I don't think this applies here because you are trying to use the shared_tools in your module, and thus import everything.