Skip to content

Commit 5e036b9

Browse files
committed
Fix minimal required python version
1 parent 01e9840 commit 5e036b9

File tree

3 files changed

+13
-38
lines changed

3 files changed

+13
-38
lines changed

Diff for: .gitignore

+5-34
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ __pycache__/
66
*.so
77

88
# Distribution / packaging
9-
.Python
109
env/
1110
build/
1211
develop-eggs/
@@ -23,39 +22,11 @@ var/
2322
.installed.cfg
2423
*.egg
2524

26-
# PyInstaller
27-
# Usually these files are written by a python script from a template
28-
# before PyInstaller builds the exe, so as to inject date/other infos into it.
29-
*.manifest
30-
*.spec
31-
32-
# Installer logs
33-
pip-log.txt
34-
pip-delete-this-directory.txt
35-
36-
# Unit test / coverage reports
37-
htmlcov/
38-
.tox/
39-
.coverage
40-
.coverage.*
41-
.cache
42-
nosetests.xml
43-
coverage.xml
44-
*,cover
45-
46-
# Translations
47-
*.mo
48-
*.pot
49-
50-
# Django stuff:
51-
*.log
52-
5325
# Sphinx documentation
5426
docs/_build/
5527

56-
# PyBuilder
57-
target/
58-
59-
# IDE
60-
.idea
61-
.vscode
28+
# Environments
29+
env
30+
venv
31+
.env
32+
.venv

Diff for: docs/conf.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@
1919
#
2020
import os
2121
import sys
22+
from configparser import ConfigParser
2223

23-
from __af_version__ import full_version
24+
25+
config = ConfigParser()
26+
config.read(os.path.abspath("setup.cfg"))
27+
full_version = config.get("metadata", "version")
2428

2529
sys.path.insert(0, os.path.abspath('..'))
2630

Diff for: setup.cfg

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = arrayfire
3-
version = 3.7.20200213
3+
version = 3.7.20201113
44
description = Python bindings for ArrayFire
55
licence = BSD
66
long_description = file: README.md
@@ -9,12 +9,12 @@ maintainer_email = technical@arrayfire.com
99
url = http://arrayfire.com
1010
classifiers =
1111
Programming Language :: Python
12-
Programming Language :: Python :: 2.7
1312
Programming Language :: Python :: 3
14-
Programming Language :: Python :: 3.6
13+
Programming Language :: Python :: 3.8
1514

1615
[options]
1716
packages = find:
17+
python_requires = >=3.8.0
1818

1919
[options.packages.find]
2020
include = arrayfire

0 commit comments

Comments
 (0)