-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed pipgui entrypoint command not working, and cleaned versioning (#19
) * changed author and versioning system * removed versioning re func * fixed pipgui entrypoint not working * __init__ corrected
- Loading branch information
1 parent
588e0ae
commit 01a1dab
Showing
6 changed files
with
5 additions
and
23 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,5 @@ | ||
*.pyc | ||
venv/ | ||
env/ | ||
*.egg-info | ||
build/ | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,2 +1 @@ | ||
|
||
from mainGUI import main | ||
from . import mainGUI |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,21 +10,6 @@ | |
here = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
|
||
def find_version(*file_paths): | ||
try: | ||
fh = codecs.open(os.path.join(here, *file_paths), "r", "latin1") | ||
version_file = fh.read() | ||
fh.close() | ||
except FileNotFoundError: | ||
raise RuntimeError("Unable to find version string.") | ||
|
||
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", | ||
version_file, re.M) | ||
if version_match: | ||
return version_match.group(1) | ||
raise RuntimeError("Unable to find version string.") | ||
|
||
|
||
try: | ||
fh = codecs.open("README.md", encoding="utf-8") | ||
long_description = fh.read() | ||
|
@@ -34,10 +19,11 @@ def find_version(*file_paths): | |
|
||
setup( | ||
name="pipgui", | ||
version=find_version("pipgui/mainGUI.py"), | ||
version=1.1, | ||
description="This package is GUI based tool for installing pip packages in your environment.", | ||
url="https://github.com/GDGVIT/pip-gui", | ||
author="Ayush Priya", | ||
author="Ayush Priya, DSC-VIT", | ||
author_email="[email protected], [email protected]", | ||
packages=find_packages(include=[ | ||
"pipgui", | ||
"pipgui.*" | ||
|