Skip to content

Commit 2faf049

Browse files
Merge pull request #2 from yeti-switch/fix-package
fix package
2 parents 3e5df7b + 38cecb4 commit 2faf049

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from setuptools import setup
1+
from setuptools import setup, find_packages
22
from packaging.version import Version
33
import os
44

@@ -24,7 +24,7 @@
2424
long_description=long_description,
2525
long_description_content_type="text/markdown",
2626
license="MIT",
27-
packages=["yeti_switch_api"],
27+
packages=find_packages(exclude=["examples"]),
2828
python_requires=">=3.7",
2929
install_requires=requirements,
3030
keywords=["yeti-switch", "yeti-web"],

yeti_switch_api/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
__version_info__ = ("0", "2", "0")
2-
__version__ = ".".join(__version_info__)
1+
from . import api, common, orm
2+
3+
__all__ = ["api", "common", "orm"]

0 commit comments

Comments
 (0)