mapbox / mapbox/osm-bright

support both python 2.x and 3.x in make.py

Open
#73 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.