File tree Expand file tree Collapse file tree 8 files changed +34
-113
lines changed Expand file tree Collapse file tree 8 files changed +34
-113
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,15 @@ os.environ["PATH"] += os.pathsep + 'C:/Program Files (x86)/Graphviz2.38/bin/'
7777pip install -r requirements.txt
7878```
7979
80- See the examples inside ` example ` toknow how to use
80+ See the examples inside ` example ` to know how to use
8181
82+ Alternatively, you can install ``` recursion-visualiser ``` package from pypi by:<br >
83+ ``` pip install recursion-visualiser==0.0.2 ```
8284
8385## TODO:
8486
8587 - [x] Minimal working version
88+ - [x] Upload package to pypi
8689 - [ ] Refactor
8790 - [ ] Handle base cases
8891 - [ ] Make more beautful trees
Original file line number Diff line number Diff line change 11# Author: Bishal Sarang
22
33# Import Visualiser class from module visualiser
4- from visualiser import Visualiser as vs
4+ from visualiser . visualiser import Visualiser as vs
55
66# Add decorator
77# Decorator accepts arguments: ignore_args and show_argument_name
Original file line number Diff line number Diff line change 11# Author: Bishal Sarang
2- from visualiser import Visualiser as vs
2+ from visualiser . visualiser import Visualiser as vs
33
44"""
55 Problemm Link: https://qr.ae/TltTCV
Original file line number Diff line number Diff line change 1- from visualiser import Visualiser as vs
1+ from visualiser .visualiser import Visualiser as vs
2+
23start_state = (3 , 3 , 1 )
34goal_state = (0 , 0 , 0 )
45
Original file line number Diff line number Diff line change 1+ import setuptools
2+
3+ with open ("README.md" , "r" ) as fh :
4+ long_description = fh .read ()
5+
6+ setuptools .setup (
7+ name = "recursion-visualiser" , # Replace with your own username
8+ version = "0.0.2" ,
9+ author = "Bishal Sarangkoti" ,
10+ author_email = "sarangbishal@gmail.com" ,
11+ description = "A small python package to visualise recursive function on Python. It draws recursion tree" ,
12+ long_description = long_description ,
13+ long_description_content_type = "text/markdown" ,
14+ url = "https://github.com/sarangbishal/Recursion-Tree-Visualizer" ,
15+ packages = setuptools .find_packages (),
16+ classifiers = [
17+ "Programming Language :: Python :: 3" ,
18+ "License :: OSI Approved :: MIT License" ,
19+ "Operating System :: OS Independent" ,
20+ ],
21+ install_requires = ["pydot" ],
22+ python_requires = '>=3.6' ,
23+ )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+
2+ # Version of the realpython-reader package
3+ __version__ = "0.0.2"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments