setuptools and pypi
This commit is contained in:
parent
f89d984997
commit
7225cd3c15
|
|
@ -1,2 +1,4 @@
|
|||
*.swp
|
||||
*.pyc
|
||||
dist
|
||||
aprs.egg-info
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
include LICENSE *.rst
|
||||
10
Makefile
10
Makefile
|
|
@ -8,6 +8,7 @@ Available commands:
|
|||
make test - run tests and coverage
|
||||
make pylint - code analysis
|
||||
make build - pylint + test
|
||||
|
||||
endef
|
||||
|
||||
export HELPBODY
|
||||
|
|
@ -24,3 +25,12 @@ pylint:
|
|||
pylint -r n -f colorized aprs || true
|
||||
|
||||
build: pylint test
|
||||
|
||||
clean:
|
||||
rm -rf dist aprs.egg-info
|
||||
|
||||
dist: clean
|
||||
python setup.py sdist
|
||||
|
||||
upload:
|
||||
twine upload dist/*
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
__version__ = '0.6.23'
|
||||
__version__ = '0.6.24'
|
||||
|
|
|
|||
|
|
@ -0,0 +1,34 @@
|
|||
from setuptools import setup
|
||||
from codecs import open
|
||||
from os import path
|
||||
|
||||
here = path.abspath(path.dirname(__file__))
|
||||
__version__ = open('aprs/version.py').read().split("'")[1]
|
||||
|
||||
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
|
||||
long_description = f.read()
|
||||
|
||||
setup(
|
||||
name='aprs',
|
||||
version=__version__,
|
||||
description='Library for working with APRS',
|
||||
long_description=long_description,
|
||||
url='https://github.com/rossengeorgiev/aprs-python',
|
||||
author='Rossen Georgiev',
|
||||
author_email='zx.devel@gmail.com',
|
||||
license='GPLv2',
|
||||
classifiers=[
|
||||
'Development Status :: 4 - Beta',
|
||||
'Intended Audience :: Developers',
|
||||
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 2.7',
|
||||
'Topic :: Communications :: Ham Radio',
|
||||
],
|
||||
setup_requires=['pypandoc'],
|
||||
test_suite='tests',
|
||||
keywords='aprs parse parsing aprs-is library base91',
|
||||
packages=['aprs'],
|
||||
install_requires=[],
|
||||
zip_safe=False,
|
||||
)
|
||||
Loading…
Reference in New Issue