Skip to content

Commit

Permalink
added dependencies to workflow file, removed build from pyinstaller v…
Browse files Browse the repository at this point in the history
…ersion filename
  • Loading branch information
cole-wilson committed Feb 1, 2021
1 parent 4e5c2dd commit 31417c8
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 9 deletions.
6 changes: 3 additions & 3 deletions 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.24.2
# v0.24.3+4e5c2dd.1

class Sailboat < Formula
include Language::Python::Virtualenv
Expand Down Expand Up @@ -30,8 +30,8 @@ class Sailboat < Formula
sha256 "27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804"
end
resource "setuptools" do
url "https://files.pythonhosted.org/packages/84/48/5c99d8770fd0a9eb0f82654c3294aad6d0ba9f8600638c2e2ad74f2c5d52/setuptools-52.0.0.tar.gz"
sha256 "fb3a1ee622509550dbf1d419f241296169d7f09cb1eb5b1736f2f10965932b96"
url "https://files.pythonhosted.org/packages/12/68/95515eaff788370246dac534830ea9ccb0758e921ac9e9041996026ecaf2/setuptools-53.0.0.tar.gz"
sha256 "1b18ef17d74ba97ac9c0e4b4265f123f07a8ae85d9cd093949fa056d3eeeead5"
end
resource "twine" do
url "https://files.pythonhosted.org/packages/f9/43/51c3139667e90399a4d7886013631ad020ad102db5c2907cb240ce56f3c1/twine-3.3.0.tar.gz"
Expand Down
Binary file removed dist/pypi/sailboat-0.24.2.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added dist/pypi/sailboat-0.24.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.24.2
Version: 0.24.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 @@ -13,10 +13,10 @@ description = ""
url = "https://github.com/cole-wilson/sailboat"
keywords = ""
license = "MIT"
latest_build = "0.24.2"
latest_build = "0.24.3+4e5c2dd.1"
author = "Cole Wilson"
latest_release = "0.24.1"
release-notes = "apparently you cant have an underscore in a mac executable name when its in a .app bundle.weird."
latest_release = "0.24.2"
release-notes = "fixed bug inInfo.plist"


# Resource Setup:
Expand Down
Binary file modified sailboat/__pycache__/builders.cpython-38.pyc
Binary file not shown.
Binary file modified sailboat/__pycache__/core.cpython-38.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions sailboat/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import shutil
import requests
import time
from semver import VersionInfo
from sailboat.plugins import Plugin

class PyPi(Plugin):
Expand Down Expand Up @@ -231,6 +232,8 @@ def wizard(self):
self.storeData('bundle_id',"com."+self.data['author'].lower().replace(' ','')+"."+self.data['short_name'])

def run(self,**kwargs):
version = VersionInfo.parse(self.version)
self.version = str(VersionInfo(major=version.major,minor=version.minor,patch=version.patch,prerelease=version.prerelease))
if not(self.getData('mac') or self.getData('windows') or self.getData('unix')):
return
try:
Expand Down
3 changes: 2 additions & 1 deletion sailboat/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ def run(self,plugins,**kwargs):
l="#" if linux == "" else "",
m="#" if mac == "" else "",
w="#" if windows == "" else "",
**self.data
**self.data,
dependencies = " ".join(self.data['resources']['modules'])
)
try:
f = open(f'.github{os.sep}workflows{os.sep}sailboat.yml','w+')
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.24.2",
"version":"0.24.3",
"scripts":[],
"entry_points":{'console_scripts': ['sail=sailboat.__main__:main', 'sailboat=sailboat.__main__:main'], 'sailboat_plugins': ['quickstart=sailboat.core:QuickStart', 'pypi=sailboat.builders:PyPi', 'homebrew=sailboat.builders:Homebrew', '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', 'git=sailboat.core:Git', 'tasks=sailboat.other:Tasks', 'workflow=sailboat.core:Actions', 'github=sailboat.core:Git', 'github_release=sailboat.core:GithubRelease', 'build_docs_readme=sailboat.other:BuildDocs']},
"author":"Cole Wilson",
Expand Down

0 comments on commit 31417c8

Please sign in to comment.