33import pkg_resources
44import os
55import sys
6+
67here = os .path .abspath (os .path .dirname (__file__ ))
78
89# Get the long description from the README file
9- with open (os .path .join (here , ' README.md' ), encoding = ' utf-8' ) as f :
10+ with open (os .path .join (here , " README.md" ), encoding = " utf-8" ) as f :
1011 long_description = f .read ()
1112
12- release = "0.9.1 "
13+ release = "0.10.0 "
1314
1415# list all data folders here, to ensure they get packaged
1516
1617data_folders = [
17- ' rtbdata' ,
18+ " rtbdata" ,
1819]
1920
2021# https://stackoverflow.com/questions/18725137/how-to-obtain-arguments-passed-to-setup-py-from-pip-with-install-option
@@ -25,7 +26,7 @@ def package_files(directory):
2526 paths = []
2627 for (pathhere , _ , filenames ) in os .walk (directory ):
2728 for filename in filenames :
28- paths .append (os .path .join ('..' , pathhere , filename ))
29+ paths .append (os .path .join (".." , pathhere , filename ))
2930 return paths
3031
3132
@@ -37,50 +38,36 @@ def package_files(directory):
3738print (find_packages (exclude = ["test_*" , "TODO*" ]))
3839
3940setup (
40- name = 'rtb-data' ,
41-
41+ name = "rtb-data" ,
4242 version = release ,
43-
4443 # This is a one-line description or tagline of what your project does. This
4544 # corresponds to the "Summary" metadata field:
46- description = 'Data files for the Robotics Toolbox for Python.' , # TODO
47-
45+ description = "Data files for the Robotics Toolbox for Python." , # TODO
4846 long_description = long_description ,
49- long_description_content_type = 'text/markdown' ,
50-
47+ long_description_content_type = "text/markdown" ,
5148 classifiers = [
5249 # 3 - Alpha
5350 # 4 - Beta
5451 # 5 - Production/Stable
55- 'Development Status :: 5 - Production/Stable' ,
56-
52+ "Development Status :: 5 - Production/Stable" ,
5753 # Indicate who your project is intended for
58- ' Intended Audience :: Developers' ,
54+ " Intended Audience :: Developers" ,
5955 # Pick your license as you wish (should match "license" above)
60- 'License :: OSI Approved :: MIT License' ,
61-
56+ "License :: OSI Approved :: MIT License" ,
6257 # Specify the Python versions you support here. In particular, ensure
6358 # that you indicate whether you support Python 2, Python 3 or both.
64- ' Programming Language :: Python :: 3 :: Only' ] ,
65-
59+ " Programming Language :: Python :: 3 :: Only" ,
60+ ],
6661 project_urls = {
67- ' Source' : ' https://github.com/petercorke/roboticstoolbox-python' ,
62+ " Source" : " https://github.com/petercorke/roboticstoolbox-python" ,
6863 },
69-
70- url = 'https://github.com/petercorke/roboticstoolbox-python' ,
71-
72- author = 'Peter Corke' ,
73-
74- author_email = '[email protected] ' ,
# TODO 75-
76- keywords = 'python robotics' ,
77-
64+ url = "https://github.com/petercorke/roboticstoolbox-python" ,
65+ author = "Peter Corke" ,
66+ author_email = "[email protected] " ,
# TODO 67+ keywords = "python robotics" ,
7868 # license='MIT',
79-
80- package_data = {'rtbdata' : extra_files },
69+ package_data = {"rtbdata" : extra_files },
8170 # include_package_data=True,
8271 # data_files = [('mvtbimages', ["../image-data/monalisa.png", "../image-data/street.png"]),],
83-
8472 packages = find_packages (exclude = ["test_*" , "TODO*" ]),
85-
8673)
0 commit comments