forked from gautamkrishnar/socli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (41 loc) · 1.51 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
41
42
43
44
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from codecs import open
from distutils.util import convert_path
with open('README.md') as f:
longd = f.read()
main_ns = {}
ver_path = convert_path('socli/version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)
setup(
name='socli',
include_package_data=True,
packages=["socli"],
entry_points={"console_scripts": ['socli = socli.sentry:main']},
python_requires='>=3.5.0',
install_requires=['BeautifulSoup4', 'requests', 'colorama', 'Py-stackExchange', 'sentry_sdk', 'urwid'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
requires=['BeautifulSoup4', 'requests', 'colorama', 'PyStackExchange', 'sentry_sdk', 'urwid'],
version=main_ns['__version__'],
url='https://www.github.com/gautamkrishnar/socli',
keywords="stack overflow cli",
license='BSD',
classifiers=[
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
author='Gautam Krishna R',
author_email='r.gautamkrishna@gmail.com',
description='Stack overflow command line interface. SoCLI allows you to search and browse stack overflow from the '
'terminal.',
long_description="\n\n" + longd,
long_description_content_type='text/markdown'
)