-
Notifications
You must be signed in to change notification settings - Fork 1
Poetry #20
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
Merged
Merged
Poetry #20
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1a8a065
gitignore mypy cache
marco-neumann-by a511076
Move build system to poetry
marco-neumann-by a3b84a2
move isort configs to pyproject.toml
marco-neumann-by 843bbdb
MANIFEST.in not required anymore
marco-neumann-by fe73c8e
use builtin black profile for isort
marco-neumann-by a6eaef0
change author/copyright holder to "Blue Yonder Group, Inc"
marco-neumann-by 70c9552
constraint pandas to < 1.1 for now
marco-neumann-by File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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,11 +1,13 @@ | ||
*.asv/ | ||
*.egg-info/ | ||
.coverage | ||
.mypy_cache/ | ||
.pytest_cache/ | ||
.venv/ | ||
__pycache__/ | ||
build/ | ||
coverage.xml | ||
poetry.lock | ||
dist/ | ||
docs/_build/ | ||
docs/_rst/ |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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,51 @@ | ||
[build-system] | ||
requires = [ | ||
"poetry>=0.12", | ||
] | ||
build-backend = "poetry.masonry.api" | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.poetry] | ||
name = "rle-array" | ||
description = "Run-length encoded pandas." | ||
authors= [ | ||
"Blue Yonder Group, Inc", | ||
] | ||
version = "0.1" | ||
readme = "README.rst" | ||
license = "MIT" | ||
packages = [ | ||
{ include = "rle_array" }, | ||
] | ||
repository = "https://github.com/JDASoftwareGroup/rle_array" | ||
keywords = [ | ||
"python", | ||
] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Natural Language :: English", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.6.1,<3.9" | ||
numba = ">=0.45" | ||
numpy = ">=1.17" | ||
pandas = ">=1.0.3,<1.1" | ||
|
||
[tool.poetry.dev-dependencies] | ||
asv = "*" | ||
black = "19.10b0" | ||
flake8-mutable = "1.2.0" | ||
flake8 = "3.8.3" | ||
isort = "5.0.9" | ||
mypy = "*" | ||
pytest = "*" | ||
pytest-cov = "*" | ||
setuptools_scm = "*" | ||
sphinx = "*" |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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,5 @@ | ||
[build_sphinx] | ||
source-dir = docs | ||
build-dir = docs/_build | ||
builder = doctest,html | ||
warning-is-error = true |
This file contains hidden or 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,50 +1,5 @@ | ||
import os | ||
from typing import List | ||
|
||
from setuptools import setup | ||
|
||
|
||
def get_requirements(path: str) -> List[str]: | ||
with open(os.path.join(os.path.dirname(__file__), path)) as fp: | ||
content = fp.read() | ||
return [req for req in content.split("\n") if req != "" and not req.startswith("#")] | ||
|
||
|
||
def setup_package() -> None: | ||
name = "rle_array" | ||
|
||
setup( | ||
name=name, | ||
packages=["rle_array"], | ||
description="Run-length encoded pandas.", | ||
author="JDA Software, Inc", | ||
python_requires=">=3.6", | ||
url="https://github.com/JDASoftwareGroup/rle_array", | ||
license="MIT", | ||
long_description=open("README.rst", "r").read(), | ||
install_requires=get_requirements("requirements.txt"), | ||
tests_require=get_requirements("test-requirements.txt"), | ||
extras_require={"testing": get_requirements("test-requirements.txt")}, | ||
keywords=["python"], | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Console", | ||
"Intended Audience :: Developers", | ||
"Natural Language :: English", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
], | ||
use_scm_version=True, | ||
command_options={ | ||
"build_sphinx": { | ||
"source_dir": ("setup.py", "docs"), | ||
"build_dir": ("setup.py", "docs/_build"), | ||
"builder": ("setup.py", "doctest,html"), | ||
"warning_is_error": ("setup.py", "1"), | ||
} | ||
}, | ||
) | ||
|
||
#!/usr/bin/env python | ||
import setuptools | ||
|
||
if __name__ == "__main__": | ||
setup_package() | ||
setuptools.setup() |
This file was deleted.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.