PythonPackage builds flat installs instead of egg directories.
- Spack doesn't need eggs -- it manages its own directories - Simplify install layout and reduce sys.path searches by installing all packages flat (eggs are deprecated for wheels, and this is also what wheels do). - We now supply the --single-version-externally-managed argument to `setup.py install` for setuptools packages and setuptools. - modify packages to only use setuptools args if setuptools is an immediate dependency - Remove setuptools from packages that do not need it. - Some packages use setuptools *only* when certain args (likeb 'develop' or 'bdist') are supplied to setup.py, and they specifically do not use setuptools for installation. - Spack never calls setup.py this way, so just removing the setuptools dependency works for these packages.
This commit is contained in:
@@ -40,7 +40,6 @@ class PyJupyterClient(PythonPackage):
|
||||
version('4.1.0', 'cf42048b889c8434fbb5813a9eec1d34')
|
||||
version('4.0.0', '00fa63c67cb3adf359d09dc4d803aff5')
|
||||
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('python@2.7:2.7.999,3.3:')
|
||||
depends_on('py-traitlets', type=('build', 'run'))
|
||||
depends_on('py-jupyter-core', type=('build', 'run'))
|
||||
|
Reference in New Issue
Block a user