Skip to content

Commit

Permalink
delete tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianliaw committed Nov 21, 2014
1 parent 9318924 commit 870a0bc
Show file tree
Hide file tree
Showing 8 changed files with 64 additions and 332 deletions.
2 changes: 1 addition & 1 deletion pycuber/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

__all__ = ["Cube", "Cubie", "Centre", "Corner", "Edge", "Square", "Step", "Algo"]
__title__ = "PyCuber"
__version__ = "0.1b2"
__version__ = "0.1b3"
__author__ = "Adrian Liaw"
__license__ = "MIT"
79 changes: 63 additions & 16 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,70 @@
from setuptools import setup
import os

def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
long_desc = """
PyCuber
=======
PyCuber is a Rubik’s Cube simulator in Python 2/3.
--------------------------------------------------
The cube can be revealed as expanded view in the terminal, so it’s easy
to visualise the cube, just inside the terminal.
.. code:: python
import pycuber as pc
# Create a Cube object
mycube = pc.Cube()
# Do something at the cube.
mycube("R U R' U'")
print(mycube)
.. figure:: https://raw.github.com/adrianliaw/PyCuber/v0.1b/static/img/terminal.png
:alt: alt tag
alt tag
We also provided some useful tools to deal with Rubik’s Cube algorithms.
.. code:: python
import pycuber as pc
# Create an Algo object
myalg = pc.Algo("R U R' U' R' F R2 U' R' U' R U R' F'")
# Reversing an Algo
myalg.reverse()
print(myalg)
# Mirroring an Algo object
myalg.mirror("LR")
print(myalg)
::
F R U' R' U R U R2 F' R U R U' R'
F' L' U L U' L' U' L2 F L' U' L' U L
I’ll add some documentations later.
"""

setup(
name="pycuber",
version="0.1b2",
description="Rubik's Cube in Python",
long_description="See http://github.com/adrianliaw/PyCuber",
url="http://github.com/adrianliaw/PyCuber",
license="MIT",
author="Adrian Liaw",
author_email="[email protected]",
packages=["pycuber"],
package_dir={"pycuber":"pycuber"},
classifiers=[
name = "pycuber",
version = "0.1b3",
description = "Rubik's Cube in Python",
long_description = long_desc,
url = "http://github.com/adrianliaw/PyCuber",
license = "MIT",
author = "Adrian Liaw",
author_email = "[email protected]",
packages = ["pycuber"],
package_dir = {"pycuber":"pycuber"},
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
Expand Down
File renamed without changes.
150 changes: 0 additions & 150 deletions solver/cfop/algo_fetcher.py

This file was deleted.

35 changes: 0 additions & 35 deletions solver/cfop/tests/cross_tests.py

This file was deleted.

47 changes: 0 additions & 47 deletions solver/cfop/tests/f2l_tests.py

This file was deleted.

38 changes: 0 additions & 38 deletions solver/cfop/tests/oll_tests.py

This file was deleted.

Loading

0 comments on commit 870a0bc

Please sign in to comment.