generated from framunoz/python-library-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
25 lines (21 loc) · 758 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import pathlib
from pkg_resources import parse_requirements
from setuptools import find_packages, setup
LIBRARY_NAME = "rubiks_cube" # Rename according to the library folder
# List of requirements
with pathlib.Path('requirements.txt').open() as requirements_txt:
install_requires = [
str(requirement) for requirement in parse_requirements(requirements_txt)
]
setup(
name=LIBRARY_NAME,
packages=find_packages(include=[LIBRARY_NAME]),
version="0.1.0",
description="A library that allows to simulate a Rubik's Cube for research purposes.",
author="Francisco Muñoz",
license="MIT",
install_requires=install_requires,
setup_requires=["pytest-runner"],
tests_requires=["pytest"],
test_suite="tests",
)