3
3
import pkg_resources
4
4
import os
5
5
import sys
6
+
6
7
here = os .path .abspath (os .path .dirname (__file__ ))
7
8
8
9
# 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 :
10
11
long_description = f .read ()
11
12
12
- release = "0.9.1 "
13
+ release = "0.10.0 "
13
14
14
15
# list all data folders here, to ensure they get packaged
15
16
16
17
data_folders = [
17
- ' rtbdata' ,
18
+ " rtbdata" ,
18
19
]
19
20
20
21
# 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):
25
26
paths = []
26
27
for (pathhere , _ , filenames ) in os .walk (directory ):
27
28
for filename in filenames :
28
- paths .append (os .path .join ('..' , pathhere , filename ))
29
+ paths .append (os .path .join (".." , pathhere , filename ))
29
30
return paths
30
31
31
32
@@ -37,50 +38,36 @@ def package_files(directory):
37
38
print (find_packages (exclude = ["test_*" , "TODO*" ]))
38
39
39
40
setup (
40
- name = 'rtb-data' ,
41
-
41
+ name = "rtb-data" ,
42
42
version = release ,
43
-
44
43
# This is a one-line description or tagline of what your project does. This
45
44
# 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
48
46
long_description = long_description ,
49
- long_description_content_type = 'text/markdown' ,
50
-
47
+ long_description_content_type = "text/markdown" ,
51
48
classifiers = [
52
49
# 3 - Alpha
53
50
# 4 - Beta
54
51
# 5 - Production/Stable
55
- 'Development Status :: 5 - Production/Stable' ,
56
-
52
+ "Development Status :: 5 - Production/Stable" ,
57
53
# Indicate who your project is intended for
58
- ' Intended Audience :: Developers' ,
54
+ " Intended Audience :: Developers" ,
59
55
# Pick your license as you wish (should match "license" above)
60
- 'License :: OSI Approved :: MIT License' ,
61
-
56
+ "License :: OSI Approved :: MIT License" ,
62
57
# Specify the Python versions you support here. In particular, ensure
63
58
# 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
+ ],
66
61
project_urls = {
67
- ' Source' : ' https://github.com/petercorke/roboticstoolbox-python' ,
62
+ " Source" : " https://github.com/petercorke/roboticstoolbox-python" ,
68
63
},
69
-
70
- url = 'https://github.com/petercorke/roboticstoolbox-python' ,
71
-
72
- author = 'Peter Corke' ,
73
-
74
- author_email = 'rvc@petercorke.com' , # TODO
75
-
76
- keywords = 'python robotics' ,
77
-
64
+ url = "https://github.com/petercorke/roboticstoolbox-python" ,
65
+ author = "Peter Corke" ,
66
+ author_email = "rvc@petercorke.com" , # TODO
67
+ keywords = "python robotics" ,
78
68
# license='MIT',
79
-
80
- package_data = {'rtbdata' : extra_files },
69
+ package_data = {"rtbdata" : extra_files },
81
70
# include_package_data=True,
82
71
# data_files = [('mvtbimages', ["../image-data/monalisa.png", "../image-data/street.png"]),],
83
-
84
72
packages = find_packages (exclude = ["test_*" , "TODO*" ]),
85
-
86
73
)
0 commit comments