Browse Source

Autodetect packages in setup.py

Ian Adam Naval 4 years ago
parent
commit
1fcf436094
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      setup.py

+ 2
- 2
setup.py View File

@@ -1,5 +1,5 @@
1 1
 import os
2
-from setuptools import setup
2
+from setuptools import setup, find_packages
3 3
 
4 4
 
5 5
 # Utility function to read the README file.
@@ -18,7 +18,7 @@ setup(
18 18
     license="MIT",
19 19
     keywords="example documentation tutorial",
20 20
     url="https://github.com/GoatCTF/GoatCTF/",
21
-    packages=['goatctf'],
21
+    packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
22 22
     long_description=read('README.md'),
23 23
     classifiers=[
24 24
         "Development Status :: 3 - Alpha",

Loading…
Cancel
Save