Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

The only way to learn a new programming language is by writing programs in it. -- Brian Kernighan


devel / comp.lang.python / Re: Problem using cx_Freeze

SubjectAuthor
* Problem using cx_FreezeDavid at Booomer
`- Re: Problem using cx_FreezeDennis Lee Bieber

1
Problem using cx_Freeze

<mailman.265.1660583254.20444.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19207&group=comp.lang.python#19207

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.uzoreto.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: dav...@boomer.org (David at Booomer)
Newsgroups: comp.lang.python
Subject: Problem using cx_Freeze
Date: Mon, 15 Aug 2022 10:30:41 -0600
Lines: 19
Message-ID: <mailman.265.1660583254.20444.python-list@python.org>
References: <mailman.8.1660579202.9134.python-list@python.org>
<F215A38E-90EF-4F01-B05C-AACD4B2AE4D0@boomer.org>
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\))
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de IFjmBvipecPlS5nChlwF2ggGouPMWQWDgN857MN0Subw==
Return-Path: <david@boomer.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.024
X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'message:': 0.03;
'anaconda': 0.09; 'terminal': 0.09; 'url-ip:151.101.0.223/32':
0.09; 'url-ip:151.101.128.223/32': 0.09; 'url-
ip:151.101.192.223/32': 0.09; 'url-ip:151.101.64.223/32': 0.09;
'import': 0.15; 'command:': 0.16; 'received:71': 0.16;
'suggestions,': 0.16; 'url:project': 0.16; 'url:pypi': 0.16;
'python': 0.16; 'to:addr:python-list': 0.20; 'issue': 0.21;
'subject:using': 0.23; 'output': 0.28; 'error': 0.29; 'module':
0.31; 'resolve': 0.32; 'but': 0.32; 'there': 0.33; 'same': 0.34;
'header:In-Reply-To:1': 0.34; 'running': 0.34; 'trying': 0.35;
'url:)': 0.35; 'using': 0.37; 'file': 0.38; 'use': 0.39;
'appears': 0.40; 'gives': 0.62; 'url-ip:151.101.0/24': 0.62; 'url-
ip:151.101.128/24': 0.62; 'url-ip:151.101.192/24': 0.62; 'url-
ip:151.101.64/24': 0.62; '8bit%:43': 0.70; 'skip:\xe2 10': 0.71;
'received:secureserver.net': 0.84; 'attribute': 0.84;
'received:198.71': 0.84; 'received:iad2.secureserver.net': 0.84;
'received:prod.iad2.secureserver.net': 0.84
X-CMAE-Analysis: v=2.4 cv=H58ef8Ui c=1 sm=1 tr=0 ts=62fa74b2
a=ntNDXrUKbnX6i/WnlW3SyQ==:117 a=psjRqFsbmtbLk4XyTHOYWg==:17
a=9+rZDBEiDlHhcck0kWbJtElFXBc=:19 a=gQX1269ULFhLm4Thdby34LUHVW0=:19
a=IkcTkHD0fZMA:10 a=biHskzXt2R4A:10 a=CckQENj0AAAA:8 a=r4wU6_dB1k0luLpfogsA:9
a=QEXdDO2ut3YA:10 a=MVSXPqF7KYYA:10 a=-LCfKA-m35oA:10
a=v1m5V3URgRWkQSIvPHXJ:22 a=-XWihg8NfbdYC9mmq4w4:22
X-SECURESERVER-ACCT: david@boomer.org
In-Reply-To: <mailman.8.1660579202.9134.python-list@python.org>
X-Mailer: Apple Mail (2.3696.120.41.1.1)
X-AntiAbuse: This header was added to track abuse,
please include it with any abuse report
X-AntiAbuse: Primary Hostname - a2plcpnl0158.prod.iad2.secureserver.net
X-AntiAbuse: Original Domain - python.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - boomer.org
X-Get-Message-Sender-Via: a2plcpnl0158.prod.iad2.secureserver.net: authenticated_id:
david@boomer.org
X-Authenticated-Sender: a2plcpnl0158.prod.iad2.secureserver.net: david@boomer.org
X-Source:
X-Source-Args:
X-Source-Dir:
X-CMAE-Envelope: MS4xfGjR0KHs1Eus+t8yq8hm+sTWqc0vpivlpSSpduprrUpDJys923Z2ewV29KTX9bAqYL0CfKicvyosvtaPVtpKm1v99cbnssfCsIGQL5pvmChP5WcrYgaG
1HiPXheM7av5ElGchbF9z2ltFSUr4voCvVvY1yd0azmZhbXwkLdlxiJDBwTTIymVcDU99kt4mkBi5gVnBzfZuJUg9KZ0jBOXHc9dq4XxUasP13AZrxKIKxeb
X-Mailman-Approved-At: Mon, 15 Aug 2022 13:07:33 -0400
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <F215A38E-90EF-4F01-B05C-AACD4B2AE4D0@boomer.org>
X-Mailman-Original-References: <mailman.8.1660579202.9134.python-list@python.org>
 by: David at Booomer - Mon, 15 Aug 2022 16:30 UTC

I’m trying to use cx_Freeze (https://pypi.org/project/cx-Freeze/) in a python app but running into an error message:

AttributeError: module 'cx_Freeze' has no attribute ‘BdistDMG’

I’m using Anaconda and error appears with the import command: from cx_Freeze import *

From the terminal the command: python setup.py build gives much the same error.

I believe there is an issue specifying the output file name but don’t know how to resolve it.

Any suggestions, thanks. David

Re: Problem using cx_Freeze

<epilfh9socpvujkka67fcl14g2ei6fqo69@4ax.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=19212&group=comp.lang.python#19212

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 15 Aug 2022 22:42:49 +0000
From: wlfr...@ix.netcom.com (Dennis Lee Bieber)
Newsgroups: comp.lang.python
Subject: Re: Problem using cx_Freeze
Date: Mon, 15 Aug 2022 18:45:05 -0400
Organization: IISS Elusive Unicorn
Message-ID: <epilfh9socpvujkka67fcl14g2ei6fqo69@4ax.com>
References: <mailman.8.1660579202.9134.python-list@python.org> <F215A38E-90EF-4F01-B05C-AACD4B2AE4D0@boomer.org> <mailman.265.1660583254.20444.python-list@python.org>
User-Agent: ForteAgent/8.00.32.1272
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Lines: 26
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-tsVIhpyALInkhpCoYS1Hj78298+sHCKCu7G8D+2vJ5HSFTa4ONiXXQRFp4V2W9O4Owt99xDooetXF3H!4Hq+hJQLtbasZuC6BcllSqwlYBmXIQKqrEs6IFAn9YymK2Gdjvb1Wq6So0Ul401kQ4KVZbRB
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Dennis Lee Bieber - Mon, 15 Aug 2022 22:45 UTC

On Mon, 15 Aug 2022 10:30:41 -0600, David at Booomer <david@boomer.org>
declaimed the following:

>I’m trying to use cx_Freeze (https://pypi.org/project/cx-Freeze/) in a python app but running into an error message:
>
>AttributeError: module 'cx_Freeze' has no attribute ‘BdistDMG’

What operating system? BdistDMG appears to be a Macintosh OS module --
something to do with disk images

https://cx-freeze.readthedocs.io/en/latest/setup_script.html
"""
On Windows, you can build a simple installer containing all the files
cx_Freeze includes for your application, by running the setup script as:

python setup.py bdist_msi

On Mac OS X, you can use bdist_dmg to build a Mac disk image.
"""

Note the command syntax and last line...

--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com http://wlfraed.microdiversity.freeddns.org/

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor