removed version.py
This commit is contained in:
parent
acfcf7f2bc
commit
007c4fb45b
1
Makefile
1
Makefile
|
|
@ -19,6 +19,7 @@ init:
|
||||||
pip install -r req.txt
|
pip install -r req.txt
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
rm -f aprslib/*.pyc
|
||||||
nosetests --verbosity 2 --with-coverage --cover-package=aprslib
|
nosetests --verbosity 2 --with-coverage --cover-package=aprslib
|
||||||
|
|
||||||
pylint:
|
pylint:
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ import time
|
||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from .version import __version__
|
from . import __version__
|
||||||
from .parse import parse
|
from .parse import parse
|
||||||
from .exceptions import (
|
from .exceptions import (
|
||||||
GenericError,
|
GenericError,
|
||||||
|
|
|
||||||
|
|
@ -27,10 +27,7 @@ from datetime import date as _date
|
||||||
__date__ = str(_date.today())
|
__date__ = str(_date.today())
|
||||||
del _date
|
del _date
|
||||||
|
|
||||||
from .version import __version__ as ref_version
|
__version__ = "0.6.31"
|
||||||
__version__ = ref_version
|
|
||||||
del ref_version
|
|
||||||
|
|
||||||
__author__ = "Rossen Georgiev"
|
__author__ = "Rossen Georgiev"
|
||||||
__all__ = ['IS', 'parse']
|
__all__ = ['IS', 'parse']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
__version__ = '0.6.31'
|
|
||||||
8
setup.py
8
setup.py
|
|
@ -1,16 +1,18 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
from codecs import open
|
from codecs import open
|
||||||
from os import path
|
from os import path
|
||||||
|
|
||||||
here = path.abspath(path.dirname(__file__))
|
from aprslib import __version__ as lib_version
|
||||||
__version__ = open('aprslib/version.py').read().split("'")[1]
|
|
||||||
|
|
||||||
|
here = path.abspath(path.dirname(__file__))
|
||||||
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
|
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
|
||||||
long_description = f.read()
|
long_description = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='aprslib',
|
name='aprslib',
|
||||||
version=__version__,
|
version=lib_version,
|
||||||
description='Module for accessing APRS-IS and parsing APRS packets',
|
description='Module for accessing APRS-IS and parsing APRS packets',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
url='https://github.com/rossengeorgiev/aprs-python',
|
url='https://github.com/rossengeorgiev/aprs-python',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue