-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
43 lines (35 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
39
40
41
42
43
#!/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="[email protected]",
license="MIT",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
keywords="LoRa decrypt",
packages=["lora"],
install_requires=["cryptography==43.0.1"],
)