Skip to content

Commit

Permalink
Add find_packages() back to setup.py (fixes #263)
Browse files Browse the repository at this point in the history
  • Loading branch information
earwig committed Jan 11, 2021
1 parent 297bcb0 commit 90b47f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import os
import sys

from setuptools import setup, Extension
from setuptools import find_packages, setup, Extension
from setuptools.command.build_ext import build_ext

sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
Expand Down Expand Up @@ -74,7 +74,7 @@ def build_ext_patched(self):

setup(
name = "mwparserfromhell",
packages = ["mwparserfromhell"],
packages = find_packages("src"),
package_dir = {"": "src"},
ext_modules = [tokenizer] if use_extension else [],
tests_require = ["pytest"],
Expand Down

0 comments on commit 90b47f0

Please sign in to comment.