Skip to content

Commit 2593841

Browse files
Merge pull request #2 from active-expressions/python27support
Set python version requirements
2 parents 00b650f + 25ca83f commit 2593841

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Active Expression Implementation for Python using static-byte-code analysis.
55
## Installation
66

77
To use Active Expression you need at least Python 2.7 (earlier version may be supported but not tested) or Python 3.4.
8-
To install the package, you can run the following command:
8+
To install the package, you can run one of the following commands:
99

1010
```
11-
pip install git+https://github.com/active-expressions/active-expressions-static-python
12-
pip3 install git+https://github.com/active-expressions/active-expressions-static-python
11+
pip install git+https://github.com/active-expressions/active-expressions-static-python # Python 2.x
12+
pip3 install git+https://github.com/active-expressions/active-expressions-static-python # Python 3.x
1313
```
1414

1515
Otherwise you can clone this repository and import the `aexpr.py` file in the subfoler `aexpr`.

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# For a discussion on single-sourcing the version across setup.py and the
3333
# project code, see
3434
# https://packaging.python.org/en/latest/single_source_version.html
35-
version='1.0', # Required
35+
version='1.1', # Required
3636

3737
# This is a one-line description or tagline of what your project does. This
3838
# corresponds to the "Summary" metadata field:
@@ -69,5 +69,5 @@
6969
# py_modules=["my_module"],
7070
#
7171
packages=find_packages(exclude=['contrib', 'docs', 'tests']), # Required
72-
python_requires='>3.4'
72+
python_requires='>2.0,>3.4'
7373
)

0 commit comments

Comments
 (0)