-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENHANCEMENT] New structure to be able to install it via pip
* New structure to be able to install it via pip * removing the version from the binary script * updated the module path in the tests as well.
- Loading branch information
Showing
22 changed files
with
81 additions
and
16 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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
*svn* | ||
*.ipynb | ||
*.pyc | ||
*.pyo | ||
.project | ||
.pydevproject | ||
*.swp | ||
*.swo | ||
build | ||
dist | ||
*.egg-info | ||
pip-wheel-metadata/ | ||
.settings | ||
*.wpr | ||
*.wpu | ||
.idea | ||
.coverage | ||
cover | ||
.DS_Store | ||
*,cover | ||
tags | ||
.pytest_cache | ||
.venv | ||
|
||
#VScode | ||
.vscode/ |
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,8 @@ | ||
#!/usr/bin/env python | ||
import os | ||
|
||
project_dir = os.path.dirname(os.path.dirname(__file__)) | ||
os.sys.path.append(project_dir) | ||
|
||
from crhc_cli import crhc | ||
crhc.parse.main_menu() |
Empty file.
Empty file.
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
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
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
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
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
Empty file.
Empty file.
Empty file.
Empty file.
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,30 @@ | ||
from setuptools import find_packages, setup | ||
|
||
|
||
with open("README.md", "r") as fh: | ||
long_description = fh.read() | ||
|
||
with open("requirements.txt", "r") as req: | ||
requirements = req.readlines() | ||
|
||
|
||
setup( | ||
name="crhc-cli", | ||
version="1.15.15", | ||
author="Waldirio", | ||
author_email="[email protected]", | ||
description="This project contains the crhc command line tool that simplifies the use of the C.RH.C API available at console.redhat.com", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
install_requires=requirements, | ||
url="https://github.com/C-RH-C/crhc-cli/", | ||
packages=find_packages(), | ||
python_requires=">=3.9", | ||
scripts=['bin/crhc-cli'], | ||
include_package_data=True, | ||
classifiers=( | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
), | ||
) |
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
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
Empty file.