support both python 2.x and 3.x in make.py
Open
Nobody has claimed this yet.
- Dominant language
- CartoCSS
- Stars
- 703
- Forks
- 222
- PR merge metrics
- No merged PRs in 30d
Description
Python 3 currently gives:
```
$ python3 make.py
File "make.py", line 67
print "installing to %s" % output_dir
^
SyntaxError: invalid syntax
```
downstream issue: http://support.mapbox.com/discussions/tilemill/6892-installation-osm-bright-on-windows-xp
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with make.py, especially the Python 2 print statement reported at line 67, and run it with Python 3 to identify compatibility failures. Update the script so the make.py workflow runs under both Python 2.x and 3.x, then verify it with both interpreters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100