-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
40 lines (36 loc) · 1.36 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
34
35
36
37
38
39
40
# -*- coding: utf-8 -*-
"""
Create by [email protected] at 7/3/19
"""
import re
from os.path import abspath, dirname, join
from setuptools import setup, find_packages
CURDIR = dirname(abspath(__file__))
CLASSIFIERS = '''
Development Status :: 5 - Production/Stable
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Testing
Framework :: Robot Framework
Framework :: Robot Framework :: Library
'''.strip().splitlines()
with open(join(CURDIR, 'src','DatabaseLib' , 'version.py')) as f:
VERSION = re.search("\nVERSION = '(.*)'", f.read()).group(1)
DESCRIPTION = 'Database Library for Robot Framework based on sqlalchemy'
with open(join(CURDIR, 'requirements.txt')) as f:
REQUIREMENTS = f.read().splitlines()
setup(
name = 'robotframework-databaselib',
version = VERSION,
description = DESCRIPTION,
long_description = DESCRIPTION,
author = 'Wang Yang',
author_email = '[email protected]',
url = 'https://github.com/rainmanwy/robotframework-DatabaseLib',
keywords = 'robotframework testing testautomation',
platforms = 'any',
classifiers = CLASSIFIERS,
install_requires = REQUIREMENTS,
package_dir = {'': 'src'},
packages = find_packages('src')
)