-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (52 loc) · 1.6 KB
/
setup.py
File metadata and controls
55 lines (52 loc) · 1.6 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
from setuptools import setup, find_packages
import os
VERSION_FILE = 'src/changelog/_version.py'
with open(VERSION_FILE, 'r') as vf:
value = vf.read()
v = value.split('=')[1].strip().strip('"')
dev_requirements = [
'coverage',
'invoke',
'mock',
'prospector',
'twine',
'wheel'
]
setup(
name='changelog-cli',
description='Command line interface for managing CHANGELOG.md files',
long_description=open("README.md", 'r').read(),
long_description_content_type='text/markdown',
version=os.getenv('MODULE_VERSION_ID', v),
author='Ryan McDevitt',
author_email='mcdevitt.ryan@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
url='https://github.com/mc706/changelog-cli',
license="MIT",
install_requires=[
'click'
],
extras_require={'dev': dev_requirements},
entry_points={
'console_scripts': [
'changelog=changelog.commands:cli',
'cl=changelog.commands:cli'
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Documentation',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Documentation',
'Topic :: Utilities',
]
)