forked from jakul/python-transifex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
31 lines (28 loc) · 974 Bytes
/
setup.py
File metadata and controls
31 lines (28 loc) · 974 Bytes
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
import os
from setuptools import setup, find_packages
import sys
from transifex import VERSION
if sys.argv[-1] == 'publish-to-pypi':
os.system("python setup.py sdist upload -r pypi")
os.system("git tag -a %s -m 'version %s'" % (VERSION, VERSION))
os.system("git push --tags")
sys.exit()
setup(
name='python-transifex',
version=VERSION,
description='A Python API to the Transifex translation service (www.transifex.com).',
author='Craig Blaszczyk',
author_email='masterjakul@gmail.com',
url='https://github.com/jakul/python-transifex',
license='BSD',
packages=find_packages(),
install_requires=[],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)