forked from gleitz/howdoi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (51 loc) · 1.41 KB
/
Copy pathsetup.py
File metadata and controls
58 lines (51 loc) · 1.41 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env python
from setuptools import setup, find_packages
import howdoi
import os
def read(*names):
values = dict()
extensions = ['.txt', '.rst']
for name in names:
value = ''
for extension in extensions:
filename = name + extension
if os.path.isfile(filename):
value = open(name + extension).read()
break
values[name] = value
return values
long_description = """
%(README)s
News
====
%(CHANGES)s
""" % read('README', 'CHANGES')
setup(name='howdoi',
version=howdoi.__version__,
description='A code search tool',
long_description=long_description,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Topic :: Documentation",
],
keywords='howdoi help console',
author='Benjamin Gleitzman',
author_email='gleitz@mit.edu',
maintainer='Benjamin Gleitzman',
maintainer_email='gleitz@mit.edu',
url='https://github.com/gleitz/howdoi',
license='MIT',
packages=find_packages(),
entry_points={
'console_scripts': [
'howdoi = howdoi.howdoi:command_line_runner',
]
},
install_requires=[
'pyquery',
],
)