Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W wendelin.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • wendelin.core
  • Merge requests
  • !1

Closed
Created Jul 14, 2016 by Kazuhiko Shiozaki@kazuhikoOwner
  • Report abuse
Report abuse

setup: specify setuptools location explicitly when calling make.

  • Overview 9
  • Commits 2
  • Changes 1

If wendline.core is built under buildout and setuptools exists only in buildout environment, 'python setup.py' called inside make will fail without this change.

Building 'wendelin.core'
Running easy_install:
"/path/to/python2.7" "-c" "import sys; sys.path[0:0] = ['/path/to/setuptools-19.6.2-py2.7.egg']; from setuptools.command.easy_install import main; main()"...
path_list=['/path/to/setuptools-19.6.2-py2.7.egg']
...
<<< setup.py: os.system('make %s PYTHON="%s"' % (target, sys.executable))
...
make[1]: Leaving directory '/tmp/xxx/wendelin.core-0.6/3rdparty/ccan'
/path/to/python2.7 setup.py ll_build_ext --inplace
Traceback (most recent call last):
  File "setup.py", line 18, in <module>
    from setuptools import setup, Extension, Command, find_packages
ImportError: No module named setuptools
Makefile:40: recipe for target 'bigfile/_bigfile.so' failed
make: *** [bigfile/_bigfile.so] Error 1
error: Setup script exited with error: Failed to execute `make all`
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: specify-setuptools-location-explicitly
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7