-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
39 lines (30 loc) · 955 Bytes
/
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
import re
from setuptools import setup, find_packages
with open('nio/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
def readme():
with open('README.md') as f:
return f.read()
setup(
name='nio',
description='A framework for building blocks and modules for the nio Platform',
long_description=readme(),
keywords=['nio'],
version=version,
packages=find_packages(
exclude=['*.tests', '*.tests.*', 'tests.*', 'tests']),
install_requires=['safepickle>=0.1.0'],
tests_require=[
'requests>=2.3.0'
],
classifiers=[
'License :: OSI Approved :: Apache Software License',
],
license='Apache 2.0',
author='niolabs',
author_email='[email protected]',
url='https://github.com/niolabs/nio'
)