-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·48 lines (45 loc) · 1.26 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
47
48
from setuptools import setup, find_packages
from glob import glob
from os.path import basename, splitext
with open("README.md", "r") as fh:
long_description = fh.read()
with open('VERSION', 'r') as fh:
version = fh.readline().strip()
setup(
name="cfgdir",
version=version,
author="Matt Krueger",
author_email="mkrueger@rstms.net",
description="output envdir as JSON or YAML",
long_description=long_description,
long_description_content_type="text/markdown",
license='MIT',
url="https://github.com/rstms/cfgdir",
keywords='envdir configuration config',
packages=find_packages(exclude=('tests', 'docs')),
data_files=[('.', ['VERSION', 'LICENSE', 'requirements.txt'])],
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Environment :: Console",
],
install_requires=[
'click',
'pyyaml'
],
tests_require=[
'pytest',
'pytest-datadir',
'tox',
'pybump',
'twine'
],
entry_points={
'console_scripts': [
'cfgdir=cfgdir:cli',
],
},
)