Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
e5f5d354
Commit
e5f5d354
authored
Mar 10, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2278 from jcftang/devel
Teach makefile to accept different versions of python
parents
c4aa72f1
785068df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
Makefile
+5
-4
No files found.
Makefile
View file @
e5f5d354
...
...
@@ -28,7 +28,8 @@ else
ASCII2MAN
=
@echo
"ERROR: AsciiDoc 'a2x' command is not installed but is required to build
$(MANPAGES)
"
&&
exit
1
endif
SITELIB
=
$(
shell
python
-c
"from distutils.sysconfig import get_python_lib; print get_python_lib(
)
"
)
PYTHON
=
python
SITELIB
=
$(
shell
$(PYTHON)
-c
"from distutils.sysconfig import get_python_lib; print get_python_lib(
)
"
)
# VERSION file provides one place to update the software version
VERSION
:=
$(
shell
cat
VERSION
)
...
...
@@ -118,13 +119,13 @@ clean:
rm
-rf
docs/js
python
:
python
setup.py build
$(PYTHON)
setup.py build
install
:
python
setup.py install
$(PYTHON)
setup.py install
sdist
:
clean docs
python
setup.py sdist
-t
MANIFEST.in
$(PYTHON)
setup.py sdist
-t
MANIFEST.in
rpmcommon
:
sdist
@
mkdir
-p
rpm-build
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment