Skip to content

Commit

Permalink
Fix minimal required python version
Browse files Browse the repository at this point in the history
  • Loading branch information
roaffix authored and syurkevi committed Nov 14, 2020
1 parent bd7cc8a commit 28a0f61
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 49 deletions.
39 changes: 7 additions & 32 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ __pycache__/
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
Expand All @@ -23,39 +22,15 @@ var/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/
# Environments
env
venv
.env
.venv

# IDE
.idea
# IDEs
.vscode
.idea
14 changes: 0 additions & 14 deletions __af_version__.py

This file was deleted.

6 changes: 5 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@
#
import os
import sys
from configparser import ConfigParser

from __af_version__ import full_version

config = ConfigParser()
config.read(os.path.abspath("setup.cfg"))
full_version = config.get("metadata", "version")

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

Expand Down
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = arrayfire
version = 3.7.20200213
version = 3.7.20201113
description = Python bindings for ArrayFire
licence = BSD
long_description = file: README.md
Expand All @@ -9,12 +9,14 @@ maintainer_email = [email protected]
url = http://arrayfire.com
classifiers =
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8

[options]
packages = find:
python_requires = >=3.6.0

[options.packages.find]
include = arrayfire
Expand Down

0 comments on commit 28a0f61

Please sign in to comment.