-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
34 lines (29 loc) · 840 Bytes
/
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
import re
import setuptools
from setuptools import find_packages
def find_version():
return re.search(r"^__version__ = '(.*)'$",
open('gqt/version.py', 'r').read(),
re.MULTILINE).group(1)
setuptools.setup(
name='gqt',
version=find_version(),
description='GraphQL client in the terminal.',
long_description=open('README.rst', 'r').read(),
author='Erik Moqvist',
author_email='[email protected]',
license='MIT',
url='https://github.com/eerimoq/gqt',
install_requires=[
'requests',
'xdg',
'pyyaml',
'readlike',
'graphql-core',
'tabulate'
],
packages=find_packages(exclude=['tests']),
test_suite="tests",
entry_points = {
'console_scripts': ['gqt=gqt.__init__:main']
})