File tree 2 files changed +35
-1
lines changed
2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1
- # Google Analytics for Mxit
1
+ # mxit_ga - Google Analytics for Mxit
2
2
3
3
Python module to perform Google Analytics tracking for Mxit web applications.
4
4
5
5
Only tracking of page view events is currently supported.
6
6
7
+ ## Installation
8
+
9
+ Clone the Git repository for the module. After the repository has been cloned it can be installed from the command line:
10
+
11
+ python setup.py install
12
+
7
13
## Usage
8
14
9
15
### General
Original file line number Diff line number Diff line change
1
+ import os
2
+ from setuptools import setup
3
+
4
+ # Utility function to read the README file.
5
+ # Used for the long_description. It's nice, because now 1) we have a top level
6
+ # README file and 2) it's easier to type in the README file than to put a raw
7
+ # string in below ...
8
+ # http://packages.python.org/an_example_pypi_project/setuptools.html#setting-up-setup-py
9
+ def read (fname ):
10
+ return open (os .path .join (os .path .dirname (__file__ ), fname )).read ()
11
+
12
+ setup (
13
+ name = "mxit_ga" ,
14
+ version = "0.1.0" ,
15
+ author = "Konrad Blum" ,
16
+ author_email = "[email protected] " ,
17
+ description = "Python module to perform Google Analytics tracking for Mxit web applications." ,
18
+ license = "TODO" ,
19
+ keywords = "google analytics mxit" ,
20
+ url = "https://github.com/kblum/mxit-ga-py" ,
21
+ packages = ["mxit_ga" ,],
22
+ long_description = read ("README.md" ),
23
+ classifiers = [
24
+ "Development Status :: 4 - Beta" ,
25
+ "Programming Language :: Python" ,
26
+ "Topic :: Software Development :: Libraries :: Python Modules" ,
27
+ ]
28
+ )
You can’t perform that action at this time.
0 commit comments