Skip to content

Commit

Permalink
setup for pypi publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Lind committed Dec 4, 2022
1 parent 44c9400 commit 345fb01
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 13 deletions.
20 changes: 20 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2022 Tiernan Lindauer

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <u>MotorLib: A configurable library for 12V DC Motors</u>
# MotorLib: A configurable library for 12V DC Motors
### Author: Tiernan Lindauer

MotorLib is for use with any microcontroller/computer that has GPIO, like the popular Raspberry Pi or Arduino boards.
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[metadata]
description-file=README.md
license_files=LICENSE.rst
40 changes: 28 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,33 @@
from setuptools import setup, find_packages
import codecs
import os

here = os.path.abspath(os.path.dirname(__file__))

with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
long_description = "\n" + fh.read()

VERSION = '0.3'
DESCRIPTION = '12V Motor control for robotics.'
LONG_DESCRIPTION = ''

# Setting up
setup(
name='MotorLib',
version='0.1',
license='MIT',
name="pymotorlib",
version=VERSION,
author="Tiernan Lindauer",
author_email='[email protected]',
packages=find_packages('MotorLib'),
package_dir={'': 'MotorLib'},
url='https://github.com/T-Lind/MotorLib',
keywords='Robotics',
install_requires=[
'RPi.GPIO',
],

author_email="<[email protected]>",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
install_requires=['RPi.GPIO'],
keywords=['python', 'robotics', 'motors'],
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Operating System :: Unix",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
]
)

0 comments on commit 345fb01

Please sign in to comment.