diff options
author | emkael <emkael@tlen.pl> | 2016-11-25 17:59:36 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-11-25 17:59:36 +0100 |
commit | 9dfdf363fabc519ffcfddd7cca080d9a20bfea2d (patch) | |
tree | c063a33cb09da6c96c0a06915746f79068f2cb88 | |
parent | 8e80cec14a4834ae2012959d61e473a2b430c6c4 (diff) | |
parent | 33dc53d44816b57d6f90dd656574b725294a1b49 (diff) |
Merge branch 'requirements' into pyinstaller
-rw-r--r-- | README.md | 10 | ||||
-rw-r--r-- | requirements-linux.txt | 3 | ||||
-rw-r--r-- | requirements-windows.txt | 2 | ||||
-rw-r--r-- | requirements.txt | 2 |
4 files changed, 12 insertions, 5 deletions
@@ -5,18 +5,22 @@ Command-line interface for line-up management in JFR Teamy. Prerequisites: -* Python 3 +* Python 3 (on Windows <= 3.4 due to the availability of MySQL connector) * pip -* the prerequisites of mysqlclient-python - https://github.com/PyMySQL/mysqlclient-python +* Windows environment: MySQL connector from Oracle, unavailable via PIP - https://dev.mysql.com/downloads/connector/python/ ``` -pip install -r requirements.txt +pip install -r requirements-PLATFORM.txt ``` +Where `PLATFORM` is either `windows` or `linux`. + # Configuration Set MySQL settings in ql/settings.py. +For Linux, you can leave the default `engine` property, for Windows, you have to change it to `mysql.connector.django` to use Oracle connector. + # Usage ``` diff --git a/requirements-linux.txt b/requirements-linux.txt new file mode 100644 index 0000000..02377be --- /dev/null +++ b/requirements-linux.txt @@ -0,0 +1,3 @@ +django +mysqlclient +readline diff --git a/requirements-windows.txt b/requirements-windows.txt new file mode 100644 index 0000000..48b847f --- /dev/null +++ b/requirements-windows.txt @@ -0,0 +1,2 @@ +django +pyreadline diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index b2ef732..0000000 --- a/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -django==1.10
-mysqlclient==1.3.9
|