Skip to content

Commit

Permalink
Merge pull request nkrkv#25 from knopki/feat-pyproject
Browse files Browse the repository at this point in the history
Migration to pyproject.toml
  • Loading branch information
nkrkv authored Jun 9, 2023
2 parents 97783cb + 21f48b7 commit 5d73dcd
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 36 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
*.egg-info
*.pyc
.env
.envrc
dist
*.egg-info
flake.lock
flake.nix
7 changes: 7 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright © 2023 Victor Nakoryakov <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

Empty file removed __init__.py
Empty file.
40 changes: 40 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[build-system]
# build the package with [flit](https://flit.readthedocs.io)
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"

[project]
name = "pyinsales"
version = "1.8.0"
description = """InSales e-commerce platform API bindings"""
authors = [{name = "Victor Nakoryakov", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Natural Language :: Russian",
"Topic :: Utilities",
]
keywords = ["insales", "API", "bindings"]
requires-python = ">=3.6"
dependencies = [
"iso8601",
]

[project.optional-dependencies]
debug = [
"wdb",
]
release = [
"flit",
]

[project.urls]
Homepage = "https://github.com/nailxx/pyinsales"

[tool.flit.module]
name = "insales"
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

32 changes: 0 additions & 32 deletions setup.py

This file was deleted.

0 comments on commit 5d73dcd

Please sign in to comment.