/
setup.py
40 lines (35 loc) · 1.14 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from codecs import open as c_open
import os
here = os.path.abspath(os.path.dirname(__file__))
about = {}
with c_open(os.path.join(here, 'pytree', '__version__.py'), 'r', 'utf-8') as f:
exec(f.read(), about)
with c_open('README.md') as f:
_readme = f.read()
with c_open('LICENSE') as f:
_license = f.read()
setup(
name='pytree',
version=about['__version__'],
description='list contents of directories in a tree-like format.',
long_description=_readme,
author='Luke Du',
author_email='duuyidong@gmail.com',
url='https://github.com/adu-21/pytree',
license=_license,
# include all packages under pytree
packages=find_packages(exclude=('tests', 'docs')),
classifiers=["Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
entry_points={
'console_scripts': [
'pytree = pytree.pytree:main',
]
},
install_requires=['docopt==0.6.2']
)