Skip to content

Commit

Permalink
0.2.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
s-m-e committed Jul 10, 2020
2 parents 1b93a2f + 40310e7 commit 9c51756
Show file tree
Hide file tree
Showing 20 changed files with 38 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## 0.2.1 (2020-07-10)

- FIX: CI tests failed due to dependency issue in Python 3.4, see issue #13.

## 0.2.0 (2019-12-17)

- FEATURE: `wenv init` can be used offline. A cache for installation files was added, see #1. `wenv cache` fills the cache automatically (internet connection required), `WENV_OFFLINE=true wenv init` runs the initialization of the actual *Wine Python environment* offline. Offline functionality can be configured through the new configuration parameters `prefix`, `offline`, `cache` and `packages`. See #1.
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# docs/makefile: GNU makefile for building the documentation
#
# Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
# Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
#
# <LICENSE_BLOCK>
# The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
docs/conf.py: Configures the documentation build process
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# makefile: GNU makefile for project management
#
# Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
# Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
#
# <LICENSE_BLOCK>
# The contents of this file are subject to the GNU Lesser General Public License
Expand Down
22 changes: 16 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
setup.py: Used for package distribution
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand All @@ -34,7 +34,7 @@
setup
)
import os
from sys import platform
from sys import platform, version_info


# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Expand All @@ -43,13 +43,15 @@


# Bump version HERE!
_version_ = '0.2.0'
_version_ = '0.2.1'


# List all versions of Python which are supported
python_minor_min = 4
python_minor_max = 8
confirmed_python_versions = [
('Programming Language :: Python :: %s' % x)
for x in '3.4 3.5 3.6 3.7 3.8'.split()
'Programming Language :: Python :: 3.{MINOR:d}'.format(MINOR = minor)
for minor in range(python_minor_min, python_minor_max + 1)
]


Expand All @@ -63,6 +65,13 @@
raise SystemExit('You are already running Windows. No need for this package!')


# Python 3.4 dependency / CI fix
pls = 'python-language-server'
assert version_info.major == 3
if version_info.minor <= 4:
pls += '<0.32.0'


setup(
name = 'wenv',
packages = find_packages('src'),
Expand All @@ -79,6 +88,7 @@
keywords = ['wine', 'cross platform'],
scripts = [],
include_package_data = True,
python_requires = '>=3.{MINOR:d}'.format(MINOR = python_minor_min),
install_requires = [
'requests'
],
Expand All @@ -87,7 +97,7 @@
'pytest',
'coverage',
'pytest-cov',
'python-language-server',
pls,
'setuptools',
'Sphinx',
'sphinx_rtd_theme',
Expand Down
2 changes: 1 addition & 1 deletion src/wenv/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
src/wenv/__init__.py: Package init file
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion src/wenv/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
src/wenv/__init__.py: Package entry point
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion src/wenv/_core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
src/wenv/_core/__init__.py: Core module
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion src/wenv/_core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
src/wenv/_core/config.py: Handles the modules configuration
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion src/wenv/_core/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
src/wenv/_core/const.py: Holds constant values, flags, types
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion src/wenv/_core/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
src/wenv/_core/env.py: Managing a Wine-Python environment
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion src/wenv/_core/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
src/wenv/_core/errors.py: Exceptions
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion src/wenv/_core/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
src/wenv/_core/source.py: Obtaining Python and pip locally or remotely
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
tests/__init__.py: Test module
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
tests/lib/__init__.py: Test library module
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
tests/lib/const.py: Holds constant values, flags, types
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/param.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
tests/lib/const.py: Holds constant values, flags, types
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion tests/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
tests/test_init.py: Testing clean & init
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion tests/test_pip.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
tests/test_util.py: Testing pip
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion tests/test_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
tests/test_util.py: Testing Python interpreter
Copyright (C) 2017-2019 Sebastian M. Ernst <[email protected]>
Copyright (C) 2017-2020 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down

0 comments on commit 9c51756

Please sign in to comment.