Skip to content

Commit

Permalink
Use MANIFEST.in for all needed files in PyPI sdist (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Mar 20, 2021
1 parent b715fe5 commit 1517f0b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
12 changes: 12 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
include CHANGELOG.md
include LICENSE.md
include README.md

recursive-exclude * __pycache__
recursive-exclude * *.py[co]

recursive-include docs *.rst conf.py Makefile requirements.txt
recursive-include examples *.md *.txt *.py

include simple_pid/*.pyi
include simple_pid/py.typed
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@

from setuptools import setup
from setuptools import setup, find_packages

from codecs import open
from os import path
Expand All @@ -26,7 +25,7 @@
'Programming Language :: Python :: 3',
],
keywords='pid controller control',
packages=['simple_pid'],
packages=find_packages(),
package_data={
'simple_pid': ['*.pyi', 'py.typed'],
},
Expand Down

0 comments on commit 1517f0b

Please sign in to comment.