Skip to content
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

Add poetry support to SortingHat #602

Merged
merged 2 commits into from
Feb 24, 2022
Merged
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
520 changes: 520 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

72 changes: 72 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[tool.poetry]
name = "sortinghat"
version = "0.7.18"
description = "A tool to manage identities."
authors = [
"GrimoireLab Developers"
]
license = "GPL-3.0+"

readme = "README.md"

homepage = "https://chaoss.github.io/grimoirelab/"
repository = "https://github.com/chaoss/grimoirelab-sortinghat"

keywords = [
"development",
"grimoirelab"
]

packages = [
{ include = "sortinghat" },
{ include = "tests", format = "sdist" },
]

vchrombie marked this conversation as resolved.
Show resolved Hide resolved
include = [
{ path = "AUTHORS", format = "sdist" },
{ path = "NEWS", format = "sdist" },
{ path = "README.md", format = "sdist" },
]

classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Programming Language :: Python :: 3"
]

[tool.poetry.urls]
"Bug Tracker" = "https://github.com/chaoss/grimoirelab-sortinghat/issues"

[tool.poetry.scripts]
sortinghat = 'sortinghat.bin.sortinghat:main'
mg2sh = 'sortinghat.bin.mg2sh:main'
sh2mg = 'sortinghat.bin.sh2mg:main'
eclipse2sh = 'sortinghat.misc.eclipse2sh:main'
gitdm2sh = 'sortinghat.misc.gitdm2sh:main'
grimoirelab2sh = 'sortinghat.misc.grimoirelab2sh:main'
mailmap2sh = 'sortinghat.misc.mailmap2sh:main'
mozilla2sh = 'sortinghat.misc.mozilla2sh:main'
stackalytics2sh = 'sortinghat.misc.stackalytics2sh:main'

[tool.poetry.dependencies]
python = "^3.6.1"

PyMySQL = "1.0.2"
sqlalchemy = "~1.3.0"
jinja2 = "~3.0.1"
python-dateutil = "^2.6.0"
pandas = ">=0.22, <=0.25.3"
numpy = "<=1.18.3"
pyyaml = "^6.0"
requests = "^2.9"
urllib3 = "^1.22"

[tool.poetry.dev-dependencies]
httpretty = "0.9.7"
flake8 = "^3.9.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
24 changes: 13 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,19 @@ def run_tests(self):
package_data={'sortinghat.templates': ['*.tmpl'],
'sortinghat.data': ['*'],
},
scripts=[
"bin/sortinghat",
"bin/mg2sh",
"bin/sh2mg",
"misc/eclipse2sh",
"misc/gitdm2sh",
"misc/grimoirelab2sh",
"misc/mailmap2sh",
"misc/mozilla2sh",
"misc/stackalytics2sh"
],
entry_points={
'console_scripts': [
'sortinghat=sortinghat.bin.sortinghat:main'
'mg2sh=sortinghat.bin.mg2sh:main'
'sh2mg=sortinghat.bin.sh2mg:main'
'eclipse2sh=sortinghat.misc.eclipse2sh:main'
'gitdm2sh=sortinghat.misc.gitdm2sh:main'
'grimoirelab2sh=sortinghat.misc.grimoirelab2sh:main'
'mailmap2sh=sortinghat.misc.mailmap2sh:main'
'mozilla2sh=sortinghat.misc.mozilla2sh:main'
'stackalytics2sh=sortinghat.misc.stackalytics2sh:main'
]
},
setup_requires=[
'wheel',
'pandoc'],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.