forked from jarun/ddgr
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (42 loc) · 1.43 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
45
46
#!/usr/bin/env python3
import re
import setuptools
import shutil
shutil.copyfile('ddgr', 'ddgr.py')
with open('ddgr.py', encoding='utf-8') as fp:
version = re.search(r'_VERSION_ = \'(.*?)\'', fp.read()).group(1)
setuptools.setup(
name='ddgr',
version=version,
url='https://github.com/jarun/ddgr',
license='GPLv3',
author='Arun Prakash Jana',
author_email='[email protected]',
description='DuckDuckGo from the terminal',
long_description='See https://github.com/jarun/ddgr#readme.',
python_requires='>=3.4',
platforms=['any'],
py_modules=['ddgr'],
entry_points={
'console_scripts': [
'ddgr = ddgr:main',
],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Utilities',
],
)