|
| 1 | +#!/usr/bin/env python |
| 2 | +import re |
| 3 | +from os.path import abspath, join, dirname |
| 4 | +from setuptools import find_packages, setup |
| 5 | + |
| 6 | + |
| 7 | +CURDIR = dirname(abspath(__file__)) |
| 8 | + |
| 9 | +CLASSIFIERS = """ |
| 10 | +Development Status :: 5 - Production/Stable |
| 11 | +License :: OSI Approved :: Apache Software License |
| 12 | +Operating System :: OS Independent |
| 13 | +Programming Language :: Python :: 2 |
| 14 | +Programming Language :: Python :: 3 |
| 15 | +Programming Language :: Python :: Implementation :: CPython |
| 16 | +Programming Language :: Python :: Implementation :: PyPy |
| 17 | +Topic :: Software Development :: Testing |
| 18 | +Framework :: Robot Framework |
| 19 | +""".strip().splitlines() |
| 20 | +with open(join(CURDIR, 'src', 'robotlibcore.py')) as f: |
| 21 | + VERSION = re.search("\n__version__ = '(.*)'", f.read()).group(1) |
| 22 | +with open(join(CURDIR, 'README.rst')) as f: |
| 23 | + DESCRIPTION = f.read() |
| 24 | + |
| 25 | +setup( |
| 26 | + name = 'robotframework-pythontlibcore', |
| 27 | + version = VERSION, |
| 28 | + author = 'Tatu Aalto', |
| 29 | + author_email = 'aalto.tatu@gmail.com', |
| 30 | + url = 'https://github.com/robotframework/PythonLibCore', |
| 31 | + license = 'Apache License 2.0', |
| 32 | + description = DESCRIPTION, |
| 33 | + keywords = 'robotframework testing testautomation library development', |
| 34 | + platforms = 'any', |
| 35 | + classifiers = CLASSIFIERS, |
| 36 | + python_requires = '>=2.7.*, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4', |
| 37 | + package_dir = {'': 'src'}, |
| 38 | + packages = find_packages('src'), |
| 39 | + py_modules = ['robotlibcore'], |
| 40 | +) |
0 commit comments