Skip to content

Commit

Permalink
bump 0.4.0
Browse files Browse the repository at this point in the history
remove explicit Python3.X reference
  • Loading branch information
pannal committed Jan 23, 2021
1 parent 0a818c5 commit e189bd5
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
0.4.0
- Require Python 3.7

0.3.3-1
- downgrade dependency pyGitHub to 1.54 as its previous requirement couldn't be satisfied in 0.3.3 for Python 3.5
- last Python 3.5 release
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use an official Python runtime as a parent image
FROM python:3.5-slim
FROM python:3.7-slim

# Set the working directory to /app
WORKDIR /app
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,21 +72,21 @@ This launches Kitana on port 31337:

### Manual installation
Requirements:
- Python3.5
- Python3.7

Installation:
- go to the Kitana folder
- `pip3 install -r requirements.txt`
- `pip3.7 install -r requirements.txt`

Running:
- `python3 kitana.py`
- `python3.7 kitana.py`

#### Windows
- install Python 3.5 (preferrably [ActivePython](https://www.activestate.com/activepython/downloads))
- `pip3.5 install -r requirements_win32.txt`
- install Python 3.7 (preferrably [ActivePython](https://www.activestate.com/activepython/downloads))
- `pip3.7 install -r requirements_win32.txt`

Running:
- `python3.5 kitana.py` (Note: asset proxying seems slow on win32, adding `--shadow-assets=False` is advised)
- `python3.7 kitana.py` (Note: asset proxying seems slow on win32, adding `--shadow-assets=False` is advised)

Running behind IIS:
- `%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/proxy -preserveHostHeader:true /commit:apphost` ([Stackoverflow](https://stackoverflow.com/a/14842856))
Expand Down
4 changes: 2 additions & 2 deletions kitana.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/python3.5
#!/usr/bin/env python3
import hashlib
import os
import io
Expand Down Expand Up @@ -61,7 +61,7 @@ def maintenance():

class Kitana(object):
PRODUCT_IDENTIFIER = "Kitana"
VERSION = "0.3.3-1"
VERSION = "0.4.0"
CLIENT_IDENTIFIER_BASE = "{}_{}".format(PRODUCT_IDENTIFIER, VERSION)
initialized = False
timeout = 5
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requests==2.25.1
xmltodict==0.12.0
libsass==0.20.1
jinja2==2.11.2
PyGithub==1.54
PyGithub==1.54.1
furl==2.1.0
ndg-httpsclient==0.5.1
certifi==2020.12.5
Expand Down

0 comments on commit e189bd5

Please sign in to comment.