rel : migrate to version 1.1

pull/187/head
sepandhaghighi 2023-04-03 17:14:59 +04:30
rodzic 2a98624138
commit 8aa622c581
6 zmienionych plików z 12 dodań i 10 usunięć

Wyświetl plik

@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [1.1] - 2023-04-05
### Added
- `__version__` attribute
- `python_version` attribute
@ -138,7 +139,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `save_data_file` function
- `save_data` method
### Changed
- `data` parameter added to GenerativeImage `__init__`
- `data` parameter added to GenerativeImage `__init__` method
- `depth` parameter added to `save_image` method
- `depth` parameter added to `save_fig_file` function
- `save_image` and `nft_storage` methods background bug fixed
@ -169,7 +170,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- `generate` method
- `nft_storage` method
[Unreleased]: https://github.com/sepandhaghighi/samila/compare/v1.0...dev
[Unreleased]: https://github.com/sepandhaghighi/samila/compare/v1.1...dev
[1.1]: https://github.com/sepandhaghighi/samila/compare/v1.0...v1.1
[1.0]: https://github.com/sepandhaghighi/samila/compare/v0.9...v1.0
[0.9]: https://github.com/sepandhaghighi/samila/compare/v0.8...v0.9
[0.8]: https://github.com/sepandhaghighi/samila/compare/v0.7...v0.8

Wyświetl plik

@ -88,7 +88,7 @@ Samila is a generative art generator written in Python, Samila lets you create i
### Source code
- Download [Version 1.0](https://github.com/sepandhaghighi/samila/archive/v1.0.zip) or [Latest Source](https://github.com/sepandhaghighi/samila/archive/dev.zip)
- Download [Version 1.1](https://github.com/sepandhaghighi/samila/archive/v1.1.zip) or [Latest Source](https://github.com/sepandhaghighi/samila/archive/dev.zip)
- Run `pip install -r requirements.txt` or `pip3 install -r requirements.txt` (Need root access)
- Run `python3 setup.py install` or `python setup.py install` (Need root access)
@ -96,7 +96,7 @@ Samila is a generative art generator written in Python, Samila lets you create i
- Check [Python Packaging User Guide](https://packaging.python.org/installing/)
- Run `pip install samila==1.0` or `pip3 install samila==1.0` (Need root access)
- Run `pip install samila==1.1` or `pip3 install samila==1.1` (Need root access)
### Easy install

Wyświetl plik

@ -1,5 +1,5 @@
{% set name = "samila" %}
{% set version = "1.0" %}
{% set version = "1.1" %}
package:
name: {{ name|lower }}

Wyświetl plik

@ -4,7 +4,7 @@ import os
import sys
import codecs
Failed = 0
SAMILA_VERSION = "1.0"
SAMILA_VERSION = "1.1"
SETUP_ITEMS = [

Wyświetl plik

@ -5,7 +5,7 @@ from enum import Enum
from matplotlib import colors as mcolors
from matplotlib import cm
SAMILA_VERSION = "1.0" # pragma: no cover
SAMILA_VERSION = "1.1" # pragma: no cover
OVERVIEW = '''
Samila is a generative art generator written in Python, Samila let's you
@ -48,7 +48,7 @@ PLOT_DATA_ERROR = "Plotting process can't be Done because data{0} is empty. Use
COLOR_SIZE_ERROR = "Color list size is not equal to the data size."
SAVE_NO_DATA_ERROR = "Data file can't be saved. At least one of the data1 or data2 is None."
INVALID_COLOR_TYPE_ERROR = "Given color/bgcolor type is not supported."
VERSION_WARNING = "Your plots may differ as the version of matplotlib ({0}), Python ({1}), or Samila ({2}) that you are using is not the same as the source."
VERSION_WARNING = "Source matplotlib version({0}) or Python version({1}) is different from yours, plots may be different."
CALCULATION_EXCEPTION_WARNING = "The given functions are undefined at some points. Your plot may not be complete."
BOTH_COLOR_COMPLEMENT_WARNING = "It is not possible to set color and bgcolor to 'complement' at the same time! Both are automatically set to the previous or default selection."
COLOR_NOT_FOUND_WARNING = "color '{0}' not found. Replacing it with '{1}'"

Wyświetl plik

@ -33,14 +33,14 @@ def read_description():
setup(
name='samila',
packages=['samila'],
version='1.0',
version='1.1',
description='Generative ART',
long_description=read_description(),
long_description_content_type='text/markdown',
author='Samila Development Team',
author_email='info@samila.site',
url='https://www.samila.site',
download_url='https://github.com/sepandhaghighi/samila/tarball/v1.0',
download_url='https://github.com/sepandhaghighi/samila/tarball/v1.1',
keywords="generative-art art nft file nft-storage",
project_urls={
'Source': 'https://github.com/sepandhaghighi/samila',