-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
55 lines (50 loc) · 1.76 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
"""A setuptools based setup module for babel-angular-gettext
Based on:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with open(filename, encoding='utf-8') as fp:
return fp.read()
setup(
name='angular-gettext-babel',
version='0.3',
description='A plugin for babel to work with angular-gettext templates',
long_description=read('README.rst') + u'\n\n' + read('CHANGELOG.rst'),
url='https://github.com/neillc/angular-gettext-babel',
author='Neill Cox',
author_email='[email protected]',
license='Apache Software License',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Internationalization',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
keywords='angular-gettext babel',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=['babel'],
extras_require={
'dev': ['check-manifest'],
'test': ['coverage'],
},
package_data={},
data_files=[],
entry_points={
'babel.extractors': [
'angulargettext=angulargettext.extract:extract_angular_gettext',
],
},
)