-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
53 lines (46 loc) · 1.54 KB
/
setup.py
File metadata and controls
53 lines (46 loc) · 1.54 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
#!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
readme = open('README.rst').read()
doclink = """
Documentation
-------------
The full documentation is at http://rivescript_coverage_plugin.rtfd.org."""
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
setup(
name='rivescript_coverage_plugin',
version='1.1.0',
description='A plug-in to measure code coverage in RiveScript with python',
long_description=readme + '\n\n' + doclink + '\n\n' + history,
author='Joe Cool',
author_email='snoopyjc@gmail.com',
url='https://github.com/snoopyjc/rivescript_coverage_plugin',
packages=[
'rivescript_coverage_plugin',
],
package_dir={'rivescript_coverage_plugin': 'rivescript_coverage_plugin'},
include_package_data=True,
install_requires=[
'coverage >= 5.0', # v0.2.0: Issue #1
'rivescript >= 1.14.9', # v0.2.0: Issue #1
],
license='MIT',
zip_safe=False,
keywords='rivescript_coverage_plugin',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
],
)