Skip to content

Commit

Permalink
Fix #1: fixup.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkem committed May 8, 2017
1 parent 4856c3d commit abd1791
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@ include CHANGES.rst
include LICENSE
include MANIFEST.in
include README.rst
include tox.ini

recursive-include docs *
prune docs/_build

recursive-include tests *.py
1 change: 1 addition & 0 deletions carreralib/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def update(self, blink=lambda: (time.time() * 2) % 2 == 0):
), ncols)
window.refresh()


parser = argparse.ArgumentParser(prog='python -m carreralib')
parser.add_argument('device', metavar='DEVICE')
parser.add_argument('-l', '--logfile', default='carreralib.log')
Expand Down
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ def get_version(filename):
metadata = dict(findall(r"__([a-z]+)__ = '([^']+)'", f.read()))
return metadata['version']


project = 'carreralib'
copyright = '2015-2017 Thomas Kemmer'
version = get_version(b'../carreralib/__init__.py')
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ universal = 1
source-dir = docs/
build-dir = docs/_build
all_files = 1

[upload_sphinx]
upload-dir = docs/_build/html
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def get_version(filename):
metadata = dict(findall("__([a-z]+)__ = '([^']+)'", f.read()))
return metadata['version']


setup(
name='carreralib',
version=get_version('carreralib/__init__.py'),
Expand All @@ -17,6 +18,8 @@ def get_version(filename):
description='Python interface to Carrera(R) DIGITAL 124/132 slotcar systems', # noqa
long_description=open('README.rst').read(),
keywords='carrera digital slotcar control unit cu',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=['bluepy', 'pyserial'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Other Environment',
Expand All @@ -31,6 +34,5 @@ def get_version(filename):
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Python Modules'
],
install_requires=['bluepy', 'pyserial']
]
)

0 comments on commit abd1791

Please sign in to comment.