Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,20 @@ You can also try out UniversalPython in our [live online demo](https://universal
### UniversalPython in Jupyter
Install our Jupyter Kernel to easily use UniversalPython in Jupyter Notebook or Jupyter Lab. Instructions are here: https://github.com/UniversalPython/universalpython_kernel

### Want to add your language? Or edit one?
Follow the documentation [here](./universalpython/languages/README.md) to add a new human language, or edit an existing one.

### Build and release
Install packaging dependencies:
```bash
pip install -U packaging
python -m pip install --upgrade pip setuptools wheel build twine
```

To build:
```bash
python setup.py sdist bdist_wheel
python -m build
```

To release on PyPI:
```bash
twine upload --repository testpypi dist/* --verbose
twine upload --repository testpypi dist/* --verbose --skip-existing
```

### Learn More
Expand All @@ -84,6 +81,14 @@ Check out the [documentation](https://universalpython.github.io/docs/intro).

UniversalPython is still growing. Join us to make programming truly universal!

### Want to add your language? Or edit one?
Follow the documentation [here](./universalpython/languages/README.md) to add a new human language, or edit an existing one.

## License

[Apache-2.0 license](./LICENSE)

### Contributors
<a href="https://github.com/UniversalPython/UniversalPython/graphs/contributors">
<img src="https://contrib.rocks/image?repo=UniversalPython/UniversalPython" />
</a>
46 changes: 46 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[build-system]
requires = ["setuptools>=64.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "universalpython"
version = "0.1.3"
authors = [
{name = "Saad Bazaz", email = "saadbazaz@hotmail.com"},
]
description = "Universal Python - Write Python in your native language"
readme = "README.md"
requires-python = ">=3.7"
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Internationalization",
"Topic :: Software Development :: Interpreters",
]
keywords = ["i18n", "localization", "programming-language"]
dependencies = [
"ply>=3.11",
"PyYAML>=6.0",
"Unidecode>=1.3.6",
]

[project.urls]
Homepage = "https://github.com/UniversalPython/UniversalPython"
Repository = "https://github.com/UniversalPython/UniversalPython"
Issues = "https://github.com/UniversalPython/UniversalPython/issues"

[tool.setuptools]
# If your package is in a 'src' directory:
# package-dir = {"" = "src"}
packages = ["universalpython"]

[tool.setuptools.package-data]
universalpython = ["samples/*/*", "languages/*/*.yaml"]

[project.scripts]
universalpython = "universalpython.universalpython:main"
41 changes: 0 additions & 41 deletions setup.py

This file was deleted.