Skip to content

Commit 500bf8c

Browse files
committed
Distribute support & Backwards compatibility for Python 2.5
The 'json' module is not available in older versions of python. This changeset adds 'simplejson' as dependency for older versions, and uses it in older installations. In order to support package dependencies, I am using "distribute". According to "The Hitchhiker's Guide to Packaging", this seems to be the best solution until distutils2 arrives. I also took the chance to add a stub README file.
1 parent 7d0857e commit 500bf8c

File tree

5 files changed

+515
-3
lines changed

5 files changed

+515
-3
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
*.pyc
2+
build
3+
distribute-*.egg
4+
distribute-*.tar.gz
25
dist
36
sc2ranks.egg-info

README.rst

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
SC2Ranks for Python
2+
===================
3+
4+
This module provides python bindings for the API available at
5+
http://www.sc2ranks.com

0 commit comments

Comments
 (0)