Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 28a0f61

Browse files
roaffixsyurkevi
authored andcommitted
Fix minimal required python version
1 parent bd7cc8a commit 28a0f61

File tree

4 files changed

+16
-49
lines changed

4 files changed

+16
-49
lines changed

‎.gitignore

Lines changed: 7 additions & 32 deletions
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,15 @@ 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/
28+
# Environments
29+
env
30+
venv
31+
.env
32+
.venv
5833

59-
# IDE
60-
.idea
34+
# IDEs
6135
.vscode
36+
.idea

‎__af_version__.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎docs/conf.py

Lines changed: 5 additions & 1 deletion
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

‎setup.cfg

Lines changed: 4 additions & 2 deletions
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,14 @@ 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
1413
Programming Language :: Python :: 3.6
14+
Programming Language :: Python :: 3.7
15+
Programming Language :: Python :: 3.8
1516

1617
[options]
1718
packages = find:
19+
python_requires = >=3.6.0
1820

1921
[options.packages.find]
2022
include = arrayfire

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /