Skip to content

Commit

Permalink
Do not use init for version and author
Browse files Browse the repository at this point in the history
Importing the package in the setup module causes the installation to fail.

Signed-off-by: Branko Vukelic <branko@outernet.is>
  • Loading branch information
Branko Vukelic committed Apr 17, 2016
1 parent f55d79b commit ad53c16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions btl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from .bitload import Bitload, serialize, deserialize

__version__ = '1.0.dev1'
__author__ = 'Outernet Inc'

__all__ = (Bitload, serialize, deserialize)
6 changes: 2 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import os
from setuptools import setup, find_packages

import btl as mod


def read(fname):
""" Return content of specified file """
Expand All @@ -14,8 +12,8 @@ def read(fname):
description=('Library for serializing python objects as tightly packed '
'bit arrays'),
keywords='binary serialization deserialization bits',
version=mod.__version__,
author=mod.__author__,
version='1.0.dev1',
author='Outernet Inc',
author_email='apps@outernet.is',
license='BSD',
url='https://github.com/Outernet-Project/pybtl',
Expand Down

0 comments on commit ad53c16

Please sign in to comment.