Skip to content

Commit

Permalink
fixed abspath error
Browse files Browse the repository at this point in the history
  • Loading branch information
cole-wilson committed Jan 14, 2021
1 parent af5209c commit 216a30d
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/homebrew/Sailboat.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Created with sailboat, the Python releaser

# v0.12.2
# v0.12.3

class Sailboat < Formula
include Language::Python::Virtualenv
Expand Down
Binary file removed dist/pypi/sailboat-0.12.2.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added dist/pypi/sailboat-0.12.3.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion sailboat.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: sailboat
Version: 0.12.2
Version: 0.12.3
Summary: 🐍 A quick and easy way to distribute your Python projects!
Home-page: https://github.com/cole-wilson/sailboat
Author: Cole Wilson
Expand Down
6 changes: 3 additions & 3 deletions sailboat.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ description = ""
url = "https://github.com/cole-wilson/sailboat"
keywords = ""
license = "MIT"
latest_build = "0.12.2"
latest_build = "0.12.3"
author = "Cole Wilson"
latest_release = "0.12.1"
release-notes = "a"
latest_release = "0.12.2"
release-notes = "patch again..."


# Resource Setup:
Expand Down
9 changes: 5 additions & 4 deletions sailboat/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
from sailboat.build import Build
from pathlib import Path


path = Path(__file__)
prefix = os.path.abspath(path.parent)+os.sep

try:
path = Path(__file__)
prefix = os.path.abspath(path.parent)+os.sep
except:
prefix = os.path.dirname(os.path.abspath(__file__))+os.sep
# print(prefix)

# =============================================================================
Expand Down
Binary file modified sailboat/__pycache__/__main__.cpython-38.pyc
Binary file not shown.
Binary file modified sailboat/__pycache__/builders.cpython-38.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion sailboat/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class Homebrew(Plugin):
def release(self):
self.options = self.options[0]
if "pypi" in self.options or len(self.options)==0:
print('Must wait 20 seconds for pypi files to upload before creting homebrew formula...\n')
print('Must wait 20 seconds for pypi files to upload before creating Homebrew formula...\n')
for i in range(0, 20):
time.sleep(1)
sys.stdout.write(u"\u001b[1000D" + str(20-(i + 1)).zfill(2) + " seconds left.\t")
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

options = {
"name":"sailboat",
"version":"0.12.2",
"version":"0.12.3",
"scripts":[],
"entry_points":{'console_scripts': ['sail=sailboat.__main__:main', 'sailboat=sailboat.__main__:main'], 'sailboat_plugins': ['pypi=sailboat.builders:PyPi', 'homebrew=sailboat.builders:Homebrew', 'echo=sailboat.__main__:echo', 'pyinstaller=sailboat.builders:PyInstaller', 'dev=sailboat.core:Develop', 'release=sailboat.core:Release', 'build=sailboat.build:Build', 'wizard=sailboat.core:Wizard', 'remove=sailboat.core:Remove', 'add=sailboat.core:Add', 'plugins=sailboat.core:ManagePlugins', 'test=sailboat.tests:Test', 'git=sailboat.core:Git', 'tasks=sailboat.other:Tasks', 'workflow=sailboat.core:Actions', 'github=sailboat.core:GitHub']},
"author":"Cole Wilson",
Expand Down

0 comments on commit 216a30d

Please sign in to comment.