kopia lustrzana https://github.com/glidernet/ogn-python
rodzic
2febeb11f4
commit
3a0a91527f
|
@ -9,5 +9,8 @@ before_script:
|
|||
script:
|
||||
- nosetests --with-coverage --cover-package=ogn
|
||||
|
||||
- pip install . --upgrade
|
||||
- python -c 'import ogn'
|
||||
|
||||
after_success:
|
||||
- coveralls
|
||||
|
|
|
@ -3,6 +3,8 @@ APRS_SERVER_PORT_FULL_FEED = 10152
|
|||
APRS_SERVER_PORT_CLIENT_DEFINED_FILTERS = 14580
|
||||
|
||||
APRS_APP_NAME = 'ogn-gateway-python'
|
||||
APRS_APP_VER = '0.2'
|
||||
|
||||
PACKAGE_VERSION = '0.2.0'
|
||||
APRS_APP_VER = PACKAGE_VERSION[:3]
|
||||
|
||||
APRS_KEEPALIVE_TIME = 240
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
nose==1.3.7
|
||||
coveralls==0.4.4
|
||||
flake8==2.5.0
|
||||
SQLAlchemy==1.0.8
|
||||
geopy==1.11.0
|
||||
manage.py==0.2.10
|
||||
celery[redis]>=3.1,<3.2
|
||||
alembic==0.8.3
|
||||
# Install ogn-python
|
||||
-e .
|
||||
|
||||
# Install development requirements
|
||||
-e .[dev]
|
||||
|
|
|
@ -0,0 +1,56 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from os import path
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
from ogn.gateway.settings import PACKAGE_VERSION
|
||||
|
||||
|
||||
here = path.abspath(path.dirname(__file__))
|
||||
|
||||
# Get the long description from the README file
|
||||
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
setup(
|
||||
name='ogn-python',
|
||||
version=PACKAGE_VERSION,
|
||||
description='A python framework for the Open Glider Network (OGN)',
|
||||
long_description=long_description,
|
||||
url='https://github.com/glidernet/ogn-python',
|
||||
|
||||
author='Konstantin Gründger aka Meisterschueler, Fabian P. Schmidt aka kerel',
|
||||
author_email='kerel-fs@gmx.de',
|
||||
|
||||
license='AGPLv3',
|
||||
|
||||
classifiers=[
|
||||
'Development Status :: 3 - Alpha',
|
||||
'Intended Audience :: Developers',
|
||||
'Intended Audience :: Science/Research',
|
||||
'Topic :: Scientific/Engineering :: GIS',
|
||||
'License :: OSI Approved :: GNU Affero General Public License v3',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
],
|
||||
keywords='gliding ogn',
|
||||
|
||||
packages=find_packages(exclude=['tests', 'tests.*']),
|
||||
install_requires=[
|
||||
'SQLAlchemy==1.0.8',
|
||||
'geopy==1.11.0',
|
||||
'manage.py==0.2.10',
|
||||
'celery[redis]>=3.1,<3.2',
|
||||
'alembic==0.8.3'
|
||||
],
|
||||
|
||||
extras_require={
|
||||
'dev': [
|
||||
'nose==1.3.7',
|
||||
'coveralls==0.4.4',
|
||||
'flake8==2.5.0'
|
||||
],
|
||||
},
|
||||
zip_safe=False
|
||||
)
|
Ładowanie…
Reference in New Issue