Skip to content

Commit 6e88438

Browse files
committed
Is technically now a versioned package.
1 parent 593e3c6 commit 6e88438

3 files changed

Lines changed: 26 additions & 1 deletion

File tree

ox3apiclient/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# -*- coding: utf-8 -*-
2+
3+
from ox3apiclient import *
4+
5+
__version__ = '0.1.0'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
# -*- coding: utf-8 -*-
22

33
import cookielib
44
import json

setup.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-
3+
4+
from distutils.core import setup
5+
from os.path import dirname, join
6+
import re
7+
8+
file_path = join(dirname(__file__), 'ox3apiclient', '__init__.py')
9+
version = re.search("__version__\s*=\s*['\"](.+)['\"]",
10+
open(file_path, 'r').read()).groups()[0]
11+
12+
setup(name='ox3apiclient',
13+
version=version,
14+
author='Tony Edwards',
15+
author_email='tnydwrds@gmail.com',
16+
url='https://github.com/tnydwrds/OX3-Python-API-Client',
17+
description='Client to connect to OpenX Enterprise API.',
18+
long_description='Client to connect to OpenX Enterprise API.',
19+
packages=['ox3apiclient'],
20+
install_requires=['oauth2'])

0 commit comments

Comments
 (0)