diff --git a/.gitignore b/.gitignore index 88cbe24..2fd012a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ __pycache__ env/ .ipynb_checkpoints/ -.idea/ \ No newline at end of file +.idea/ +dist/ +MANIFEST \ No newline at end of file diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 9d5f797..0000000 --- a/setup.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Inside of setup.cfg -[metadata] -description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py index 9f1afd5..eed2783 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,15 @@ - from distutils.core import setup +# read the contents of your README file +from os import path +this_directory = path.abspath(path.dirname(__file__)) +with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: + long_description = f.read() + setup( name = 'space-time-astar', # How you named your package folder (MyLib) - packages = ['space-time-astar'], # Chose the same as "name" - version = '0.1', # Start with a small number and increase it with every change you make + packages = ['stastar'], # Chose the same as "name" + version = '0.2', # Start with a small number and increase it with every change you make license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository description = 'A* search algorithm with an added time dimension to deal with dynamic obstacles.', # Give a short description about your library author = 'Haoran Peng', # Type in your name @@ -27,6 +32,8 @@ 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], + long_description=long_description, + long_description_content_type='text/markdown' ) # Tutorial at https://medium.com/@joel.barmettler/how-to-upload-your-python-package-to-pypi-65edc5fe9c56 \ No newline at end of file diff --git a/space-time-astar/__init__.py b/stastar/__init__.py similarity index 100% rename from space-time-astar/__init__.py rename to stastar/__init__.py diff --git a/space-time-astar/grid.py b/stastar/grid.py similarity index 100% rename from space-time-astar/grid.py rename to stastar/grid.py diff --git a/space-time-astar/neighbour_table.py b/stastar/neighbour_table.py similarity index 100% rename from space-time-astar/neighbour_table.py rename to stastar/neighbour_table.py diff --git a/space-time-astar/planner.py b/stastar/planner.py similarity index 100% rename from space-time-astar/planner.py rename to stastar/planner.py diff --git a/space-time-astar/state.py b/stastar/state.py similarity index 100% rename from space-time-astar/state.py rename to stastar/state.py