This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add `pyproject.toml`. Use `setuptools_scm` for version getting.
- Loading branch information
Showing
3 changed files
with
51 additions
and
57 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,5 @@ | ||
[build-system] | ||
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4.3"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] |
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 |
---|---|---|
@@ -1,2 +1,48 @@ | ||
[metadata] | ||
name = python-rs | ||
author = Julian Konchunas | ||
author_email = [email protected] | ||
license = MIT | ||
description = Python to Rust transpiler. | ||
url = http://github.com/konchunas/pyrs | ||
long_description = | ||
Python to Rust transpiler | ||
|
||
This project started as Python to Rust syntax converter. It is not | ||
aimed at producing ready-to-compile code, but some basic stuff can be | ||
compiled easily. | ||
|
||
It generates unidiomatic non-optimized code with unnecessary | ||
allocations, but can reduce amount of edits you have to do when | ||
porting Python projects. | ||
|
||
Only basic subset of Python is supported right now and the end goal is | ||
to support common cases at least as a placeholders. | ||
|
||
The project is in experimental, so it may crash or silently skip some | ||
statements, so be careful. | ||
|
||
Based on Lukas Martinelli Py14 | ||
(https://github.com/lukasmartinelli/py14) and Py14/python-3 | ||
(https://github.com/ProgVal/py14/tree/python-3) branch by Valentin | ||
Lorentz. | ||
|
||
classifiers = | ||
License :: OSI Approved :: MIT License | ||
Operating System :: OS Independent | ||
Programming Language :: Python :: 3 | ||
Topic :: Software Development | ||
Topic :: Utilities | ||
|
||
[options] | ||
packages = pyrs | ||
python_requires = >=3.0.0 | ||
test_suite = tests | ||
tests_require = pytest | ||
|
||
[options.entry_points] | ||
console_scripts = pyrs=pyrs.cli:main | ||
|
||
[aliases] | ||
test = pytest | ||
|