Skip to content

Commit 63117cd

Browse files
committed
setup.py enhancements
- Use setuptools when available. - Update classifiers. Includes Python 3 support (#17). - Add me as author instead of generic RF Developers.
1 parent 1b40e9e commit 63117cd

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

setup.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,44 @@
11
#!/usr/bin/env python
22

3-
from distutils.core import setup
43
from os.path import abspath, dirname, join
54
import re
65

6+
try:
7+
from setuptools import setup
8+
except ImportError:
9+
from distutils.core import setup
10+
11+
712
NAME = 'robotremoteserver'
813
CLASSIFIERS = '''
914
Development Status :: 5 - Production/Stable
1015
License :: OSI Approved :: Apache Software License
1116
Operating System :: OS Independent
12-
Programming Language :: Python
17+
Programming Language :: Python :: 2
18+
Programming Language :: Python :: 3
19+
Programming Language :: Python :: Implementation :: CPython
20+
Programming Language :: Python :: Implementation :: Jython
21+
Programming Language :: Python :: Implementation :: IronPython
22+
Programming Language :: Python :: Implementation :: PyPy
1323
Topic :: Software Development :: Testing
24+
Framework :: Robot Framework
1425
'''.strip().splitlines()
1526
CURDIR = dirname(abspath(__file__))
1627
with open(join(CURDIR, 'src', NAME+'.py')) as source:
1728
VERSION = re.search("\n__version__ = '(.*)'\n", source.read()).group(1)
1829
with open(join(CURDIR, 'README.rst')) as readme:
1930
README = readme.read()
2031

32+
2133
setup(
2234
name = NAME,
2335
version = VERSION,
24-
author = 'Robot Framework Developers',
36+
author = u'Pekka Kl\xe4rck and contributors',
2537
author_email = '[email protected]',
2638
url = 'https://github.com/robotframework/PythonRemoteServer',
2739
download_url = 'https://pypi.python.org/pypi/robotremoteserver',
2840
license = 'Apache License 2.0',
29-
description = 'Python Remote Server for Robot Framework',
41+
description = 'Robot Framework remote server implemented with Python',
3042
long_description = README,
3143
keywords = 'robotframework testing testautomation remoteinterface',
3244
platforms = 'any',

0 commit comments

Comments
 (0)