|
1 | 1 | #!/usr/bin/env python |
2 | 2 |
|
3 | | -from distutils.core import setup |
4 | 3 | from os.path import abspath, dirname, join |
5 | 4 | import re |
6 | 5 |
|
| 6 | +try: |
| 7 | + from setuptools import setup |
| 8 | +except ImportError: |
| 9 | + from distutils.core import setup |
| 10 | + |
| 11 | + |
7 | 12 | NAME = 'robotremoteserver' |
8 | 13 | CLASSIFIERS = ''' |
9 | 14 | Development Status :: 5 - Production/Stable |
10 | 15 | License :: OSI Approved :: Apache Software License |
11 | 16 | 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 |
13 | 23 | Topic :: Software Development :: Testing |
| 24 | +Framework :: Robot Framework |
14 | 25 | '''.strip().splitlines() |
15 | 26 | CURDIR = dirname(abspath(__file__)) |
16 | 27 | with open(join(CURDIR, 'src', NAME+'.py')) as source: |
17 | 28 | VERSION = re.search("\n__version__ = '(.*)'\n", source.read()).group(1) |
18 | 29 | with open(join(CURDIR, 'README.rst')) as readme: |
19 | 30 | README = readme.read() |
20 | 31 |
|
| 32 | + |
21 | 33 | setup( |
22 | 34 | name = NAME, |
23 | 35 | version = VERSION, |
24 | | - author = 'Robot Framework Developers', |
| 36 | + author = u'Pekka Kl\xe4rck and contributors', |
25 | 37 | author_email = '[email protected]', |
26 | 38 | url = 'https://github.com/robotframework/PythonRemoteServer', |
27 | 39 | download_url = 'https://pypi.python.org/pypi/robotremoteserver', |
28 | 40 | license = 'Apache License 2.0', |
29 | | - description = 'Python Remote Server for Robot Framework', |
| 41 | + description = 'Robot Framework remote server implemented with Python', |
30 | 42 | long_description = README, |
31 | 43 | keywords = 'robotframework testing testautomation remoteinterface', |
32 | 44 | platforms = 'any', |
|
0 commit comments