-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
executable file
·35 lines (30 loc) · 1.01 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
#!/usr/bin/env python
from setuptools import setup
from setuptools import find_packages
import re
def find_version():
return re.search(r"^__version__ = '(.*)'$",
open('pbtools/version.py', 'r').read(),
re.MULTILINE).group(1)
setup(name='pbtools',
version=find_version(),
description='Google Protocol Buffers tools.',
long_description=open('README.rst', 'r').read(),
author='Erik Moqvist',
author_email='[email protected]',
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
keywords=['protobuf', 'proto', 'protocol buffers'],
url='https://github.com/eerimoq/pbtools',
packages=find_packages(exclude=['tests']),
install_requires=[
'textparser>=0.21.1'
],
test_suite="tests",
include_package_data=True,
entry_points = {
'console_scripts': ['pbtools=pbtools.__init__:_main']
})