Skip to content

Commit fb3c500

Browse files
HiggczengintokluTimothy Atkinson
authored
Ensure no warnings and working examples (#1)
* Ensure no warnings and working examples * Move `matplotlib` and `pandas` from extras to required dependencies to avoid warnings when using CMA and ensure that all examples work without issues. * Fix wrong links in `setup.cfg` and `README.md`. * Update description in setup.cfg * Add documentation badge and link to the landing page to README Co-authored-by: Nihat Engin Toklu <engin@nnaisense.com> Co-authored-by: Timothy Atkinson <timothy@nnaisense.com>
1 parent 1691060 commit fb3c500

File tree

3 files changed

+15
-10
lines changed

3 files changed

+15
-10
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,24 @@
11
<p align="center">
2-
<img src="https://raw.githubusercontent.com/nnaisense/evotorch/master/docs/assets/evotorch.svg" />
2+
<a href="https://evotorch.ai" rel="nofollow">
3+
<img src="https://raw.githubusercontent.com/nnaisense/evotorch/master/docs/assets/evotorch.svg" />
4+
</a>
35
</p>
46

57
<div align="center">
68
<a href="https://www.python.org/" rel="nofollow">
79
<img src="https://img.shields.io/pypi/pyversions/evotorch" alt="Python" />
810
</a>
911
<a href="https://pypi.org/project/evotorch/" rel="nofollow">
10-
<img src="https://img.shields.io/pypi/v/evotoch" alt="PyPI" />
12+
<img src="https://img.shields.io/pypi/v/evotorch" alt="PyPI" />
1113
</a>
1214
<a href="https://github.com/nnaisense/evotorch/blob/master/LICENSE" rel="nofollow">
1315
<img src="https://img.shields.io/pypi/l/evotorch" alt="License" />
1416
</a>
17+
<a href="https://docs.evotorch.ai" rel="nofollow">
18+
<img src="https://github.com/nnaisense/evotorch/actions/workflows/docs.yaml/badge.svg" alt="Build" />
19+
</a>
1520
<a href="https://github.com/nnaisense/evotorch/actions/workflows/test.yaml" rel="nofollow">
16-
<img src="https://github.com/nnaisense/evotorch/actions/workflows/test.yaml/badge.svg?branch=master&event=push" alt="Test" />
21+
<img src="https://github.com/nnaisense/evotorch/actions/workflows/test.yaml/badge.svg" alt="Test" />
1722
</a>
1823
<a href="https://github.com/psf/black" rel="nofollow">
1924
<img src="https://img.shields.io/badge/code%20style-black-000000.svg" alt="Code style: black" />

setup.cfg

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name = evotorch
33
url = https://evotorch.ai
44
project_urls =
55
Documentation = https://docs.evotorch.ai
6-
Source Code = https://gitub.com/nnaisense/evotorch
7-
description = EvoTorch is an advanced evolutionary algorithm library built directly on top of PyTorch and developed by the research scientists at NNAISENSE.
6+
Source Code = https://github.com/nnaisense/evotorch
7+
description = EvoTorch is an advanced evolutionary computation library built directly on top of PyTorch, created at NNAISENSE.
88
long_description = file: README.md
99
long_description_content_type = text/markdown
1010
license = Apache 2.0
@@ -33,11 +33,13 @@ packages = find:
3333
tests_require =
3434
evotorch[test]
3535
install_requires =
36+
cma
37+
gym
38+
matplotlib
3639
numpy
37-
torch
40+
pandas
3841
ray>=1.0
39-
gym
40-
cma
42+
torch
4143

4244
[options.package_data]
4345
* = *.txt, *.md, *.rst
@@ -50,13 +52,11 @@ where = src
5052
logging =
5153
mlflow
5254
neptune-client
53-
pandas
5455
sacred
5556
# Utility packages for running experiments and analyzing results
5657
all =
5758
box2d
5859
pymongo
59-
matplotlib
6060
jupyterlab
6161
%(logging)s
6262
# Documentation dependencies

0 commit comments

Comments
 (0)