-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (30 loc) · 894 Bytes
/
setup.py
File metadata and controls
36 lines (30 loc) · 894 Bytes
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
# vim: set et nosi ai ts=2 sts=2 sw=2:
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def _path(name):
return os.path.join(os.path.dirname(__file__), name)
APPS = [l.strip() for l in open(_path('apps.lst'))]
VERSION = __import__('drapps').__version__
setup(
name='drapps',
version=VERSION,
description='Additional command-line tools for (Python-oriented) docrep',
author='Joel Nothman',
author_email='joel.nothman@gmail.com',
url='https://github.com/schwa-lab/dr-apps-python',
packages=['drapps'],
install_requires=[
'libschwa-python',
'msgpack-python >= 0.3',
'six',
],
package_data={
'drapps': ['plugins/*/*.py'],
},
entry_points={
'console_scripts': ['dr-{0} = drapps.__main__:main'.format(cmd) for cmd in APPS]
},
setup_requires=['setuptools_git'],
license='MIT',
)