-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
33 lines (30 loc) · 1.02 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
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='[email protected]',
url='https://github.com/jakul/python-transifex',
license='BSD',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=['requests>=0.12.1'],
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',
],
)