Skip to content

Commit ac2649e

Browse files
committed
Update Python to 2.7.11
1 parent 0279b4b commit ac2649e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: python
22
python:
3-
- "2.7"
3+
- "2.7.11"
44
sudo: false
55
# command to install dependencies
66
install: pip install -r requirements.txt

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ Development environment setup notes
6161
* Each time you start working: `workon anyway`
6262

6363
### Windows (experimental)
64-
1. Install [Python 2.7](http://www.python.org/getit)
65-
* If Python is already installed and its version is lower than 2.7.9 update to a version >= 2.7.9 OR install [setuptools](http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools) & [pip](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip)(package manager)
64+
1. Install [Python 2.7.11](http://www.python.org/getit)
65+
* If Python is already installed and its version is lower than 2.7.11 update to a version >= 2.7.11 OR install [setuptools](http://www.lfd.uci.edu/~gohlke/pythonlibs/#setuptools) & [pip](http://www.lfd.uci.edu/~gohlke/pythonlibs/#pip)(package manager)
6666
1. Update the `PATH` to include a reference to the `Python` and `Python/scripts` directories (replace `C:\Python27` with your path to Python).
6767
* Command Line: Run this command with Administrator privileges: `SETX /M PATH "%PATH%";C:\Python27;C:\Python27\Scripts`. The new path will be available in the next opened terminal.
6868
* GUI: `Control Panel > System Properties > Advanced > Environment Variables > System Variables > Path > Edit >` Add `;C:\Python27;C:\Python27\Scripts` to the end of the line.
@@ -104,7 +104,7 @@ Then you can simply start working by running the `anyway` command.
104104
You can do most of the setup through PyCharm:
105105

106106
1. After getting the code, open the `anyway` directory in PyCharm.
107-
1. Set up a virtualenv: File -> Settings -> Project -> Project Interpreter -> Click the cog icon at the top right -> Create VirtualEnv. Name it "anyway" and choose Python 2.7 as the base interpreter.
107+
1. Set up a virtualenv: File -> Settings -> Project -> Project Interpreter -> Click the cog icon at the top right -> Create VirtualEnv. Name it "anyway" and choose Python 2.7.11 as the base interpreter.
108108
1. Restart PyCharm, and when it asks whether to install the packages from `requirements.txt`, answer Yes.
109109
1. Right click `models.py` and choose Run 'models', then click the dropdown menu at the top that says `models` and click Edit Configurations. Under Environment, click the `...` next to Environment variables and add the variable `DATABASE_URL` with the value `sqlite:///local.db`. Then click OK twice and run `models.py` again.
110110
1. Run `process.py` the same way (adding the `DATABASE_URL` variable).

Diff for: runtime.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
python-2.7.11

0 commit comments

Comments
 (0)