This repository was archived by the owner on Apr 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (53 loc) · 1.68 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
58
59
60
# -*- coding: utf-8 -*-
"""
strings2pot
-----------
This utility helps you to get localization strings
from your Apple or Android applications.
:copyright: (c) 2016 Qurami srl.
:license: MIT, see LICENSE for more details.
"""
import re
import sys
import codecs
from os import path
from setuptools import setup, find_packages
VERSION = re.search("VERSION = '([^']+)'", codecs.open(
path.join(path.dirname(__file__), 'strings2pot', '__init__.py'),
encoding="utf-8",
).read().strip()).group(1)
LONG_DESCRIPTION = open(path.join(path.dirname(__file__), 'README.rst')).read()
REQUIREMENTS = [
]
setup(
name='strings2pot',
version=VERSION,
url='http://qurami.com/',
license='MIT',
description='Converts Apple .strings, Android/Java .xml or Google app resource bundle .arb files to POT gettext files.',
long_description=LONG_DESCRIPTION,
author='Gianfranco Reppucci',
author_email='gianfranco.reppucci@qurami.com',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=['strings2pot'],
package_data={
'strings2pot': ['extractors/*']
},
zip_safe=False,
install_requires=REQUIREMENTS,
entry_points={
'console_scripts': [
'strings2pot = strings2pot.strings2pot:main',
],
},
)