/
setup.py
54 lines (48 loc) · 1.35 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
import os
from setuptools import (
setup,
find_packages,
)
def read_file(name):
with open(os.path.join(os.path.dirname(__file__), name)) as f:
return f.read()
version = '1.0.1.dev0'
shortdesc = 'YAFOWIL - Lingua message extrator for yafowil.yaml based forms.'
longdesc = '\n\n'.join([read_file(name) for name in [
'README.rst',
'CHANGES.rst',
'LICENSE.rst'
]])
setup(
name='yafowil.lingua',
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',
],
keywords='html input widgets form compound',
author='Yafowil Contributors',
author_email='dev@conestack.org',
url=u'http://github.com/conestack/yafowil.lingua',
license='Simplified BSD',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['yafowil'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'PyYAML',
'lingua>=2.5',
],
test_suite="yafowil.lingua.tests",
entry_points="""
[lingua.extractors]
yafowil_yaml = yafowil.lingua.extractor:YafowilYamlExtractor
"""
)