Skip to content

migrate setup.py to pyproject.toml #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# setup.py output
# build output
build/
dist/
simplegist.egg-info/
Expand Down
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Python module to convert `JSON` into a human readable `HTML Table` representatio
pip install json2html
```

Or, Download [here](https://github.com/softvar/json2html/releases) and run `python setup.py install` after changing directory to `/json2html`
Or, Download [here](https://github.com/softvar/json2html/releases) and run `pip install .` after changing directory to `/json2html`

## Example Usage

Expand Down
2 changes: 1 addition & 1 deletion json2html/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
from .jsonconv import *

__author__ = 'Varun Malhotra'
__version__ = '1.3.0'
__version__ = '1.3.1'
__license__ = 'MIT'
36 changes: 36 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"

[project]
name = "json2html"
authors = [{ name = "Varun Malhotra", email = "varun2902@gmail.com" }]
description = "JSON to HTML Table Representation"
readme = "README.md"
requires-python = ">=3.6"
keywords = ["json", "HTML", "Table"]
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
'Programming Language :: Python :: Implementation :: CPython',
]
dynamic = ["version"]

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

[tool.setuptools]
packages = ["json2html"]

[tool.setuptools.dynamic]
version = {attr = "json2html.__version__"}
3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

25 changes: 0 additions & 25 deletions setup.py

This file was deleted.