Skip to content

Commit

Permalink
Update for python3.6:
Browse files Browse the repository at this point in the history
- provide requirements.txt to bypass bootstrap.py using pip
- avoid 'python' interpreter name clash in virtualenv
- add python3.6 to travis
- add some gitignores
  • Loading branch information
gyst committed Jan 11, 2018
1 parent 03b2b57 commit 3834dd6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ __pycache__
src/*.egg-info

.installed.cfg
bin
include/
lib/
bin/
develop-eggs
parts
share/
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: python
python:
- 2.6
- 2.7
- 3.6
install:
- python bootstrap.py
- bin/buildout
Expand Down
4 changes: 2 additions & 2 deletions buildout.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[buildout]
develop = .
parts = interpreter test
extends = https://raw.github.com/zopefoundation/groktoolkit/master/grok.cfg
extends = https://raw.githubusercontent.com/zopefoundation/groktoolkit/resurrection-python3/grok.cfg
versions = versions

[versions]
Expand All @@ -10,7 +10,7 @@ grokcore.message =
[interpreter]
recipe = zc.recipe.egg
eggs = grokcore.message
interpreter = python
interpreter = py

[test]
recipe = zc.recipe.testrunner
Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# NOTE: setuptools and zc.buildout versions must be in sync with:
# ztk-versions.cfg
setuptools==38.2.4
zc.buildout==2.10.0

0 comments on commit 3834dd6

Please sign in to comment.