-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
57 lines (51 loc) · 1.55 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
49
50
51
52
53
54
55
56
57
from setuptools import find_packages
from setuptools import setup
import os
def read_file(name):
with open(os.path.join(os.path.dirname(__file__), name)) as f:
return f.read()
version = '2.1.dev0'
shortdesc = 'YAFOWIL - YAML/JSON-parser for widget trees.'
longdesc = '\n\n'.join([read_file(name) for name in [
'README.rst',
'CHANGES.rst',
'LICENSE.rst'
]])
tests_require = ['yafowil[test]']
setup(
name='yafowil.yaml',
version=version,
description=shortdesc,
long_description=longdesc,
classifiers=[
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='html input widgets form compound',
author='Yafowil Contributors',
author_email='[email protected]',
url=u'http://github.com/conestack/yafowil.yaml',
license='Simplified BSD',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['yafowil'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'yafowil>1.0.4',
'PyYAML',
],
tests_require=tests_require,
test_suite="yafowil.yaml.tests.test_suite",
extras_require=dict(
test=tests_require,
)
)