Skip to content

Commit 9952511

Browse files
committed
Poetry pyproject.toml is enough for packaging
1 parent e362ab3 commit 9952511

File tree

6 files changed

+43
-45
lines changed

6 files changed

+43
-45
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Don't forget to give the project a star! Thanks again!
77

88
## Acceptable Contributions
99

10-
The purpose of this package is integrate ptpython REPL with Django shell. If you would like to participate, the following should be considered in your pull requests:
10+
The purpose of this package is to use PtPython as default Django shell. If you would like to participate, the following should be considered in your pull requests:
1111

1212
- Add a new feature
1313

MANIFEST.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,20 @@ Install it via pip:
2323
pip install django-ptpython
2424
```
2525

26+
### Check for Prerequisites
27+
28+
1. Django
29+
30+
```bash
31+
pip install django
32+
```
33+
34+
2. PtPython
35+
36+
```bash
37+
pip install ptpython
38+
```
39+
2640
### Install the App
2741

2842
Add `django-ptpython` to your `INSTALLED_APPS` setting:

pyproject.toml

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,38 @@
11
[tool.poetry]
22
name = "django_ptpython"
33
version = "1.0.0"
4-
description = "Integrate ptpython with Django shell"
4+
description = "PtPython as default Django shell."
55
authors = ["Reganto <tell.reganto@gmail.com>"]
6+
license = "Apache-2.0"
7+
readme = "README.md"
8+
homepage = "https://github.com/reganto/django-ptpython"
9+
keywords = ["Django", "Python"]
10+
include = ["README.md", "LICENSE.txt"]
11+
classifiers = [
12+
"Environment :: Web Environment",
13+
"Intended Audience :: Developers",
14+
"License :: OSI Approved :: Apache Software License",
15+
"Operating System :: OS Independent",
16+
"Programming Language :: Python",
17+
"Programming Language :: Python :: 3",
18+
"Programming Language :: Python :: 3 :: Only",
19+
"Programming Language :: Python :: 3.4",
20+
"Programming Language :: Python :: 3.5",
21+
"Programming Language :: Python :: 3.6",
22+
"Programming Language :: Python :: 3.7",
23+
"Programming Language :: Python :: 3.8",
24+
"Programming Language :: Python :: 3.9",
25+
"Programming Language :: Python :: 3.10",
26+
"Topic :: Software Development :: Libraries :: Python Modules"
27+
]
28+
29+
[tool.poetry.urls]
30+
"Bug Tracker" = "https://github.com/reganto/django-ptpython/issues"
631

732
[tool.poetry.dependencies]
833
python = "^3.8"
34+
django = "^4.0"
35+
ptpython = "^3.0"
936

1037
[tool.poetry.dev-dependencies]
1138
pytest = "^5.2"

setup.cfg

Lines changed: 0 additions & 38 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)