Skip to content

Commit b9a17d3

Browse files
committed
oxidized-importer: add README.md
1 parent e181f29 commit b9a17d3

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

oxidized-importer/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Gregory Szorc <[email protected]>"]
55
edition = "2018"
66
license = "Python-2.0 AND MPL-2.0"
77
description = "A Rust-powered Python importer"
8+
readme = "README.md"
89

910
[lib]
1011
name = "oxidized_importer"

oxidized-importer/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Oxidized Importer
2+
3+
`oxidized-importer` is a Rust crate that produces a Python extension
4+
module for the ``oxidized_importer`` Python module. This module provides
5+
a Python *meta path finder* that can load Python resources from a pre-built
6+
index, including loading resources from memory. It also exposes functionality
7+
for scanning the filesystem for Python resources, loading those resources
8+
into the custom *meta path finder*, and serializing indexed data into a
9+
binary data structure that can be used for quickly loading an index of
10+
available Python resources.
11+
12+
This project is part of the
13+
[PyOxidized](https://github.com/indygreg/PyOxidizer) project. For more,
14+
see the documentation in the `docs/` directory, rendered online at
15+
https://pyoxidizer.readthedocs.io/en/latest/oxidized_importer.html.

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,18 @@ def build_extension(self, ext):
7070
)
7171

7272

73+
with open("oxidized-importer/README.md", "r", encoding="utf-8") as fh:
74+
long_description = fh.read()
75+
76+
7377
setuptools.setup(
7478
name="oxidized_importer",
75-
version="0.1",
79+
version="0.1dev0",
7680
author="Gregory Szorc",
7781
author_email="[email protected]",
7882
url="https://github.com/indygreg/PyOxidizer",
7983
description="Python importer implemented in Rust",
84+
long_description=long_description,
8085
license="MPL 2.0",
8186
python_requires=">=3.8",
8287
classifiers=["Intended Audience :: Developers", "Programming Language :: Rust",],

0 commit comments

Comments
 (0)