removed version.py

This commit is contained in:
Rossen Georgiev 2014-12-29 12:41:36 +00:00
parent acfcf7f2bc
commit 007c4fb45b
5 changed files with 8 additions and 9 deletions

View File

@ -19,6 +19,7 @@ init:
pip install -r req.txt
test:
rm -f aprslib/*.pyc
nosetests --verbosity 2 --with-coverage --cover-package=aprslib
pylint:

View File

@ -24,7 +24,7 @@ import time
import logging
import sys
from .version import __version__
from . import __version__
from .parse import parse
from .exceptions import (
GenericError,

View File

@ -27,10 +27,7 @@ from datetime import date as _date
__date__ = str(_date.today())
del _date
from .version import __version__ as ref_version
__version__ = ref_version
del ref_version
__version__ = "0.6.31"
__author__ = "Rossen Georgiev"
__all__ = ['IS', 'parse']

View File

@ -1 +0,0 @@
__version__ = '0.6.31'

View File

@ -1,16 +1,18 @@
#!/usr/bin/env python
from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
__version__ = open('aprslib/version.py').read().split("'")[1]
from aprslib import __version__ as lib_version
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='aprslib',
version=__version__,
version=lib_version,
description='Module for accessing APRS-IS and parsing APRS packets',
long_description=long_description,
url='https://github.com/rossengeorgiev/aprs-python',