11try :
2- from setuptools import setup
2+ from setuptools import find_packages , setup
33except ImportError :
4- from distutils .core import setup
4+ from distutils .core import setup , find_packages
55
66from pathlib import Path
77
@@ -43,9 +43,7 @@ def requirments():
4343 long_description = long_description (),
4444 long_description_content_type = "text/markdown" ,
4545 install_requires = requirments (),
46- packages = [
47- "bashplot" ,
48- ],
46+ packages = find_packages (),
4947 py_modules = [path .stem for path in Path ("." ).glob ("bashplot/*.py" )],
5048 author = __author__ ,
5149 author_email = __email__ ,
@@ -65,6 +63,7 @@ def requirments():
6563 "License :: OSI Approved :: MIT License" ,
6664 "Operating System :: MacOS" ,
6765 "Operating System :: Unix" ,
66+ "Operating System :: Windows" ,
6867 "Programming Language :: Python :: 3" ,
6968 "Programming Language :: Python :: 3.6" ,
7069 "Programming Language :: Python :: 3.7" ,
@@ -82,5 +81,5 @@ def requirments():
8281 ],
8382 extras_require = {"testing" : ["pipenv" ]},
8483 platforms = ["Windows" , "Linux" , "Solaris" , "Mac OS-X" , "Unix" ],
85- test_suite = ' pytest' ,
84+ test_suite = " pytest" ,
8685)
0 commit comments