-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use setuptools_scm for package versioning. * Add Makefile with devel chores
- Loading branch information
Showing
3 changed files
with
27 additions
and
2 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 |
---|---|---|
@@ -1,4 +1,8 @@ | ||
.idea/ | ||
.pytest_cache/ | ||
*.egg-info/ | ||
__pycache__/ | ||
__pycache__/ | ||
dist/ | ||
build/ | ||
.DS_Store | ||
_version.py |
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,11 @@ | ||
.PHONY: all | ||
all: lint test | ||
|
||
.PHONY: lint | ||
lint: | ||
isort -y | ||
unify --quote \" --in-place --recursive . | ||
|
||
.PHONY: test | ||
test: | ||
py.test tests/ |
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,14 +1,24 @@ | ||
from pathlib import Path | ||
|
||
from setuptools import find_packages, setup | ||
|
||
HERE = Path(__file__).parent.resolve() | ||
|
||
setup( | ||
name="riposte", | ||
version="0.0.1", | ||
use_scm_version={ | ||
"root": str(HERE), | ||
"write_to": str(HERE / "riposte" / "_version.py"), | ||
}, | ||
packages=find_packages(), | ||
url="https://github.com/fwkz/riposte", | ||
license="MIT", | ||
author="Mariusz Kupidura", | ||
author_email="[email protected]", | ||
description="REPL for humans", | ||
setup_requires=[ | ||
"setuptools_scm", | ||
], | ||
install_requires=[], | ||
extras_require={ | ||
"dev": [ | ||
|