Browse Source

Add find_packages() back to setup.py (fixes #263)

tags/v0.6.1
Ben Kurtovic 4 years ago
parent
commit
90b47f09e9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      setup.py

+ 2
- 2
setup.py View File

@@ -24,7 +24,7 @@ from glob import glob
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"))
@@ -74,7 +74,7 @@ tokenizer = Extension("mwparserfromhell.parser._tokenizer",

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


Loading…
Cancel
Save