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

Added Poetry for dependency management system #182

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
290 changes: 290 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

59 changes: 39 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,40 @@
[tool.poetry]
name = "dynamic"
version = "1.1"
description = "A Modern, user-friendly command-line HTTP client for the API testing, and if you're stuck - Search and browse StackOverflow without leaving the CLI"
authors = ["IndianOpenSourceFoundation"]
license = "General Public License GNU"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Packages should be mentioned here

Suggested change
packages = [{ include = "dynamic" }]

[tool.poetry.dependencies]
python = "^3.6"
certifi = "2020.6.20"
chardet = "3.0.4"
idna = "2.10"
requests = "2.24.0"
termcolor = "1.1.0"
urllib3 = "1.25.10"
rich = "9.9.0"
oauthlib = "3.1.0"
requests-oauthlib = "1.3.0"
colorama = "0.4.4"
configparser = "5.0.2"
crayons = "0.4.0"
selenium = "3.141.0"
webdriver-manager = "3.3.0"
simple-term-menu = "1.0.1"

[tool.poetry.dev-dependencies]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be added to enable command line functionality

Suggested change
[tool.poetry.scripts]
dynamic = "dynamic.__main__:main"

[build-system]
requires = [
"setuptools>=42",
"wheel",
"certifi==2020.6.20",
"chardet==3.0.4",
"idna==2.10",
"requests==2.24.0",
"termcolor==1.1.0",
"urllib3==1.25.10",
"rich==9.9.0",
"oauthlib==3.1.0",
"requests-oauthlib==1.3.0",
"colorama==0.4.4",
"configparser==5.0.2",
"crayons==0.4.0",
"selenium==3.141.0",
"webdriver-manager==3.3.0",
"simple-term-menu==1.0.1"
]
build-backend = "setuptools.build_meta"
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

packages = [
{ include = "dynamic" },
{ include = "dynamic_cli.egg-info" },
{ include = "LICENSE" },
{ include = "poetry.lock" },
{ include = "pyproject.toml" },
{ include = "README.md" },
{ include = "setup.py" }
]
Comment on lines +32 to +40
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove these