forked from mathspace/universal-analytics-python
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
38 lines (32 loc) · 1.17 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# -*- coding: utf-8 -*-
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
from setuptools.command.install import install
except ImportError:
from distutils.core import setup
from distutils.core.command.install import install
here = os.path.abspath(os.path.dirname(__file__))
VERSION='0.2.4.1'
print("Preparing version {0}\n".format(VERSION or "NOTFOUND"), file=sys.stderr)
try:
long_description = open('DESCRIPTION.rst', 'rt').read()
except Exception:
long_description = ("Universal Analytics in Python; an implementation of "
"Google's Universal Analytics Measurement Protocol")
setup(
name="universal-analytics-python",
description="Universal Analytics Python Module",
long_description=long_description,
version=VERSION,
author='Sam Briesemeister',
author_email='[email protected]',
url='https://github.com/analytics-pros/universal-analytics-python',
download_url="https://github.com/analytics-pros/universal-analytics-python/tarball/" + VERSION,
license='BSD',
packages=["UniversalAnalytics"],
install_requires=['six'],
zip_safe=True,
)