-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathsetup.py
More file actions
23 lines (20 loc) · 716 Bytes
/
setup.py
File metadata and controls
23 lines (20 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from setuptools import setup, find_packages
for line in open('httpagentparser/__init__.py'):
if line.startswith('__version__'):
version = line.split('=')[-1].strip()[1:-1]
break
setup(
name='httpagentparser',
version=version,
url="https://github.com/shon/httpagentparser",
classifiers=[
'Programming Language :: Python :: 3'
],
include_package_data=True,
description='Extracts OS Browser etc information from http user agent string',
long_description=open('README.rst').read(),
packages=find_packages(),
author='Shekhar Tiwatne',
author_email='pythonic@gmail.com',
license="http://www.opensource.org/licenses/mit-license.php",
)