File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # -*- coding: utf-8 -*-
2+
3+ from ox3apiclient import *
4+
5+ __version__ = '0.1.0'
Original file line number Diff line number Diff line change 1- #!/usr/bin/env python
1+ # -*- coding: utf-8 -*-
22
33import cookielib
44import json
Original file line number Diff line number Diff line change 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' ])
You can’t perform that action at this time.
0 commit comments