Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Yusei Tahara
slapos.buildout
Commits
b728f483
Commit
b728f483
authored
Aug 20, 2012
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable Python 3.3 builds
parent
22c0759c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
.travis.yml
.travis.yml
+1
-0
Makefile
Makefile
+10
-3
No files found.
.travis.yml
View file @
b728f483
...
...
@@ -3,6 +3,7 @@ env:
-
PYTHON_VER=2.6
-
PYTHON_VER=2.7
-
PYTHON_VER=3.2
-
PYTHON_VER=3.3
branches
:
only
:
...
...
Makefile
View file @
b728f483
...
...
@@ -10,7 +10,14 @@ ifeq ($(PYTHON_VER),3.2)
PYTHON_MINOR
=
3.2.3
endif
PYTHON_DOWNLOAD
?=
http://www.python.org/ftp/python/
$(PYTHON_MINOR)
/Python-
$(PYTHON_MINOR)
.tgz
ifeq
($(PYTHON_VER),3.3)
PYTHON_MINOR
=
3.3.0
PYTHON_ARCHIVE
=
Python-3.3.0b2
endif
PYTHON_ARCHIVE
?=
Python-
$(PYTHON_MINOR)
PYTHON_DOWNLOAD
=
http://www.python.org/ftp/python/
$(PYTHON_MINOR)
/
$(PYTHON_ARCHIVE)
.tgz
PYTHON_EXE
=
python
$(PYTHON_VER)
.PHONY
:
all build test
BUILD_DIRS
=
$(PYTHON_PATH)
bin build develop-eggs eggs parts
...
...
@@ -22,14 +29,14 @@ $(PYTHON_PATH):
mkdir
-p
$(PYTHON_PATH)
cd
$(PYTHON_PATH)
&&
\
curl
--progress-bar
$(PYTHON_DOWNLOAD)
|
tar
-zx
cd
$(PYTHON_PATH)
/
Python-
$(PYTHON_MINOR
)
&&
\
cd
$(PYTHON_PATH)
/
$(PYTHON_ARCHIVE
)
&&
\
./configure
--prefix
$(PYTHON_PATH)
>
/dev/null 2>&1
&&
\
make
>
/dev/null 2>&1
&&
\
make
install
>
/dev/null 2>&1
@
echo
"Finished installing Python"
build
:
$(PYTHON_PATH)
$(PYTHON_PATH)
/bin/
python
dev.py
$(PYTHON_PATH)
/bin/
$(PYTHON_EXE)
dev.py
clean
:
rm
-rf
$(BUILD_DIRS)
...
...
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