Skip to content

Commit

Permalink
import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wkpn committed May 4, 2020
1 parent d42bb75 commit 5a3acda
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG-ru.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Изменения
=========

`3.1.1`
-------

* фикс импорта пакета


`3.1.0`
-------

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

`3.1.1`
-------

* fix package import


`3.1.0`
-------

Expand Down
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ def get_version(package):
return version


def get_packages(package):
return [str(path.parent) for path in Path(package).glob("**/__init__.py")]


with open("README.rst", "r", encoding="utf-8") as readme:
long_description = readme.read()

Expand All @@ -25,7 +29,7 @@ def get_version(package):
name="aio2ch",
version=get_version("aio2ch"),
python_requires=">=3.6",
packages=["aio2ch"],
packages=get_packages('aio2ch'),
package_dir={"aio2ch": "aio2ch"},
url="https://github.com/wkpn/aio2ch",
license="MIT",
Expand Down

0 comments on commit 5a3acda

Please sign in to comment.