-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (34 loc) · 1.05 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
import pypandoc
import restructuredtext_lint as rst
import os
from setuptools import setup, find_packages
from dtcli import __version__, __author__, __email__
with open('requirements.txt') as f:
requirements = [l for l in f.read().splitlines() if l]
if os.path.exists('README.md'):
long_description = pypandoc.convert_file('README.md', 'rst')
rst.lint(long_description)
setup(
name='dtcli',
version=__version__,
packages=find_packages(),
author=__author__,
author_email=__email__,
keywords='dtc, nsf, bash.org, cli',
description='DTC/NSF/bash.org cli querying tool',
long_description=long_description,
url='https://github.com/Luc-Saccoccio/dtcli',
install_requires=requirements,
entry_points={
'console_scripts': [
'dtcli = dtcli.command:main',
]
},
license='MIT',
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Development Status :: 3 - Alpha",
"Intended Audience :: Other Audience",
],
)