From ca5dc26de312af8fbefef34f7a3b2bdea6d4f0b7 Mon Sep 17 00:00:00 2001 From: "Gavin M. Roy" Date: Mon, 6 Apr 2020 17:47:50 -0400 Subject: [PATCH] Move from a package to a module --- VERSION | 1 + setup.cfg | 4 ++-- sprockets_postgres/__init__.py => sprockets_postgres.py | 0 sprockets_postgres/__version__.py | 5 ----- tests/test_application.py => tests.py | 0 tests/__init__.py | 0 6 files changed, 3 insertions(+), 7 deletions(-) create mode 100644 VERSION rename sprockets_postgres/__init__.py => sprockets_postgres.py (100%) delete mode 100644 sprockets_postgres/__version__.py rename tests/test_application.py => tests.py (100%) delete mode 100644 tests/__init__.py diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..1628379 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.0.0a1 diff --git a/setup.cfg b/setup.cfg index b2d632b..3d25199 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = sprockets-postgres -version = attr: sprockets_postgres.__version__.version +version = file: VERSION description = An asynchronous Postgres client and mixin for Tornado applications long_description = file: README.rst long_description_content_type = text/x-rst; charset=UTF-8 @@ -36,7 +36,7 @@ install_requires = aiopg>=1.0.0,<2 sprockets.http>=2.1.1,<3 tornado>=6,<7 -packages = +pymodules = sprockets_postgres zip_safe = true diff --git a/sprockets_postgres/__init__.py b/sprockets_postgres.py similarity index 100% rename from sprockets_postgres/__init__.py rename to sprockets_postgres.py diff --git a/sprockets_postgres/__version__.py b/sprockets_postgres/__version__.py deleted file mode 100644 index a9c45c6..0000000 --- a/sprockets_postgres/__version__.py +++ /dev/null @@ -1,5 +0,0 @@ -""" -sprockets-postgres Version - -""" -version = '1.0.0a1' diff --git a/tests/test_application.py b/tests.py similarity index 100% rename from tests/test_application.py rename to tests.py diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index e69de29..0000000