-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
executable file
·42 lines (36 loc) · 1.34 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
41
42
#!/usr/bin/env python3.6
from os.path import abspath, dirname, join
import re
from setuptools import setup
NAME = 'rellu'
CLASSIFIERS = '''
Development Status :: 4 - Beta
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python :: 3.6
Intended Audience :: Developers
Topic :: Software Development :: Build Tools
'''.strip().splitlines()
CURDIR = dirname(abspath(__file__))
with open(join(CURDIR, NAME, '__init__.py')) as source:
VERSION = re.search("\n__version__ = '(.*)'", source.read()).group(1)
with open(join(CURDIR, 'README.rst')) as readme:
README = readme.read()
with open(join(CURDIR, 'requirements.txt')) as requirements:
REQUIREMENTS = requirements.read().splitlines()
setup(
name = NAME,
version = VERSION,
packages = [NAME],
author = 'Pekka Klärck and contributors',
author_email = '[email protected]',
url = 'https://github.com/robotframework/rellu',
download_url = 'https://pypi.python.org/pypi/rellu',
license = 'Apache License 2.0',
description = 'Tooling to ease creating releases',
long_description = README,
keywords = 'releasing',
platforms = 'any',
classifiers = CLASSIFIERS,
install_requires = REQUIREMENTS
)