Skip to content

Commit

Permalink
Added setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
m-lundberg committed May 11, 2018
1 parent 6c3e5d3 commit d72d238
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
venv/
docs/build
__pycache__/
__pycache__/
*.egg-info/
dist/
build/
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[bdist_wheel]
universal=1
36 changes: 36 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

from setuptools import setup

from codecs import open
from os import path

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='simple-pid',
version='0.1.0',
description='A simple, easy to use PID controller',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/m-lundberg/simple-pid',
author='Martin Lundberg',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
keywords='pid controller control',
packages=['simple_pid'],
extras_require={
'docs': ['m2r', 'sphinx-rtd-theme']
},
project_urls={
'Documentation': 'https://simple-pid.readthedocs.io/',
},
)

0 comments on commit d72d238

Please sign in to comment.