forked from jieter/python-lora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (37 loc) · 1.22 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
#!/usr/bin/env python
import os
import sys
from setuptools import setup
from lora import VERSION
package_name = "python-lora"
if sys.argv[-1] == "publish":
os.system("python setup.py sdist")
os.system("twine upload -r pypi dist/%s-%s.tar.gz" % (package_name, VERSION))
sys.exit()
if sys.argv[-1] == "tag":
os.system("git tag -a v{} -m 'tagging v{}'".format(VERSION, VERSION))
os.system("git push && git push --tags")
sys.exit()
setup(
name="python-lora",
version=VERSION,
description="Decrypt LoRa payloads",
url="https://github.com/jieter/python-lora",
author="Jan Pieter Waagmeester",
author_email="jieter@jieter.nl",
license="MIT",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
keywords="LoRa decrypt",
packages=["lora"],
install_requires=["cryptography==3.3.2"],
)