-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable installation into lapis namespace (#14)
* added basic lapis.caching package * installable into lapis namespace (see #13) * changed README to rst and added dev install note
- Loading branch information
1 parent
346b6a2
commit 423f9ae
Showing
4 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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="[email protected]", | ||
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", | ||
) |