forked from Stefan-Code/gglsbl3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (34 loc) · 1.37 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
39
40
#!/usr/bin/env python3
from setuptools import setup
import sys
import os
if not sys.version[0] == "3":
raise Exception("This Program is for Python **VERSION 3** only!")
__version__ = '0.1.4'
here = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the relevant file
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(name='gglsbl3',
version=__version__,
description="Client library for Google Safe Browsing API",
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Intended Audience :: Developers',
'Topic :: Internet',
'Topic :: Software Development :: Libraries :: Python Modules',
],
long_description=long_description,
keywords='gglsbl3 gglsbl safebrowsing google-safe-browing googlesafebrowsing',
author='Stefan Kuntz',
author_email='[email protected]',
url='https://github.com/Stefan-Code/gglsbl3',
license='Apache2',
packages=['gglsbl3', 'gglsbl3.util'],
install_requires=['argparse', 'python3-protobuf', ],
scripts=['scripts/gglsbl_client.py'],
)