-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (25 loc) · 719 Bytes
/
setup.py
File metadata and controls
30 lines (25 loc) · 719 Bytes
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
# -*- coding: utf-8 -*-
# Copyright (c) 2019 Luca Pinello
# GPLv3 license
#This code is based on the javascript version available here https://github.com/bpowers/btscale
import os
from setuptools import setup
from setuptools import find_packages
import re
version = re.search(
'^__version__\s*=\s*"(.*)"',
open('pyacaia/__init__.py').read(),
re.M
).group(1)
setup(
name='pyacaia',
version=version,
description='A Python module to interact with ACAIA scales via bluetooth (BLE)',
url='https://github.com/lucapinello/pyacaia',
author='Luca Pinello',
license='GPLv3',
packages=find_packages(),
install_requires=[
'bluepy', #pygatt is also supported
]
)