forked from vk496/python-ubus-rpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (33 loc) · 1.13 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
here = lambda *a: os.path.join(os.path.dirname(__file__), *a)
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
requirements = [x.strip() for x in open(here('requirements.txt')).readlines()]
setup(name='openwrt-ubus-rpc',
version='0.0.3',
description='OpenWrt ubus RPC API library',
keywords='api,openwrt,ubus',
author='noltari',
author_email='[email protected]',
url='https://github.com/Noltari/python-ubus-rpc',
install_requires=requirements,
license="GPL2",
zip_safe=False,
platforms=["any"],
packages=find_packages(),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Topic :: Home Automation',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9'
],
)