diff --git a/README.md b/README.md deleted file mode 100644 index b12a37a..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# lapis.caching -Caching extension for LAPIS simulator diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..be24817 --- /dev/null +++ b/README.rst @@ -0,0 +1,14 @@ +============= +lapis.caching +============= + +Caching extension for LAPIS simulator + +Installation +============ + +Since the tooling support for namespace packages is incomplete, +`lapis.caching` works as a namespace package on top of +the non-namespace package `lapis`. +This prevents development installations (``pip install -e .``) +from working properly. diff --git a/lapis/caching/__init__.py b/lapis/caching/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..e2533d8 --- /dev/null +++ b/setup.py @@ -0,0 +1,25 @@ +import setuptools + +with open("README.rst", "r") as readme: + long_description = readme.read() + +setuptools.setup( + name="lapis.caching", + version="0.0.1", + author="Eileen Kuehn, Max Fischer", + author_email="mainekuehn@gmail.com", + description="LAPIS extension to simulate caching", + long_description=long_description, + url="https://github.com/MatterMiners/lapis.caching", + keywords="caching simulation opportunistic scheduling scheduler", + # Even though `lapis` is not a namespace package, declaring `lapis.caching` + # as one allows to drop `.caching` into `.lapis`. The result works as one. + packages=setuptools.find_namespace_packages(include=["lapis.*"]), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Development Status :: 2 - Pre-Alpha", + ], + install_requires=["lapis-sim"], + python_requires=">=3.6", +)