File tree Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 33.idea
44.python-version
55/.hypothesis
6+ /.jython_cache
67/.pre-commit-config.yaml
78/ChangeLog
89/ChangeLog-spell-corrected
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ PACKAGE_NAME="python-control-flow"
99
1010# FIXME put some of the below in a common routine
1111function finish {
12- if [[ -n " $make_dist_trepanxpy_newest_owd " ]] then
13- cd $make_dist_trepan_xpy_newest_owd
12+ if [[ -n " $make_dist_control_flow_38_owd " ]] then
13+ cd $make_dist_control_flow_38_owd
1414 fi
1515}
1616
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
3- """Setup script for the 'python_control_flow ' distribution."""
3+ """Setup script for the 'python-control-flow ' distribution."""
44
5+ import sys
56from setuptools import setup
67
8+ major = sys .version_info [0 ]
9+ minor = sys .version_info [1 ]
10+
11+ if major != 3 or not minor >= 11 :
12+ sys .stderr .write (
13+ "This installation medium is only for Python 3.11 and later. You are running Python %s.%s.\n "
14+ % (major , minor )
15+ )
16+
17+ if major == 3 and 6 <= minor <= 10 :
18+ sys .stderr .write (
19+ "Please install using python-control-flow_38-x.y.z.tar.gz from https://github.com/rocky/python-control-flow/releases\n "
20+ )
21+ sys .exit (1 )
22+ else :
23+ sys .stderr .write ("Please install using an older release\n " )
24+ sys .exit (1 )
25+
726setup ()
You can’t perform that action at this time.
0 commit comments