Skip to content

Commit 6a88fe4

Browse files
committed
Export package to PyPi
1 parent 254eb7a commit 6a88fe4

5 files changed

Lines changed: 15 additions & 8 deletions

File tree

setup.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
1+
from __future__ import print_function
12
from setuptools import setup, find_packages
3+
import os
4+
import tion_btle.const
5+
6+
7+
here = os.path.abspath(os.path.dirname(__file__))
28

39
setup(
4-
name='tion',
5-
version='1.0',
6-
packages=find_packages(),
10+
name='tion_btle',
11+
version=tion_btle.const.VERSION,
712
long_description="Module for working with Tion breezers",
13+
url='https://github.com/TionAPI/tion_python/tree/dev',
14+
install_requires=['bluepy==1.3.0'],
15+
description='Python module for interacting with Tion breezers',
16+
packages=find_packages(),
817
)

tion/__init__.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

tion_btle/__init__.py

Whitespace-only changes.

tion_btle/const.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VERSION = '0.1.3'

tion/s3.py renamed to tion_btle/s3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
from typing import Callable
33

44
if __package__ == "":
5-
from tion import tion, TionException
5+
from tion_btle.tion import tion, TionException
66
else:
7-
from . import tion, TionException
7+
from .tion import tion, TionException
88

99
from bluepy import btle
1010
import time

0 commit comments

Comments
 (0)