-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
47 lines (39 loc) · 1.4 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
43
44
45
46
47
"""uWeb3 warehouse installer."""
import os
import re
from setuptools import setup, find_packages
REQUIREMENTS = [
'passlib'
]
def description():
"""Returns the contents of the README.md file as description information."""
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as r_file:
return r_file.read()
def version():
"""Returns the version of the library as read from the __init__.py file"""
main_lib = os.path.join(os.path.dirname(__file__), 'base', '__init__.py')
with open(main_lib) as v_file:
return re.match(".*__version__ = '(.*?)'", v_file.read(), re.S).group(1)
setup(
name='uWeb3 warehouse',
version=version(),
description='uWeb, python3, uswgi compatible warehousing app',
long_description_file='README.md',
long_description_content_type='text/markdown',
license='ISC',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: POSIX :: Linux',
],
author='Jan Klopper',
author_email='[email protected]',
url='https://github.com/underdark.nl/warehouse',
keywords='hwarehouseing software based on uWeb3',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=REQUIREMENTS)