File tree Expand file tree Collapse file tree 3 files changed +31
-4
lines changed Expand file tree Collapse file tree 3 files changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ universal=1
3
3
4
4
[metadata]
5
5
name = xyzspaces
6
- version = __version__
7
6
author = HERE Europe B.V.
7
+ author_email = XYZSPACES_PYTHON_SUPPORT@here.com
8
8
home-page = https://github.com/heremaps/xyz-spaces-python
9
9
description = Manage your XYZ Hub server or HERE Data Hub from Python
10
10
long-description = file: README.md
Original file line number Diff line number Diff line change 22
22
23
23
from setuptools import find_packages , setup
24
24
25
- __version__ = "0.0.1"
26
25
27
26
here = path .abspath (path .dirname (__file__ ))
28
27
39
38
with open (path .join (here , "requirements_dev.txt" ), encoding = "utf-8" ) as f :
40
39
dev_reqs = f .read ().strip ().split ("\n " )
41
40
41
+ packages = find_packages (exclude = ["docs" , "tests" ])
42
+
43
+ version = {}
44
+ with open ('{}/__version__.py' .format (packages [0 ])) as f :
45
+ exec (f .read (), version )
46
+
47
+
42
48
download_url = (
43
49
"https://github.com/heremaps/xyz-spaces-python"
44
- "/archive/" + __version__ + ".zip"
50
+ "/archive/" + version [ ' __version__' ] + ".zip"
45
51
)
46
52
47
53
setup (
48
54
# download_url=download_url,
49
- packages = find_packages (exclude = ["docs" , "tests" ]),
55
+ packages = packages ,
56
+ version = version ['__version__' ],
50
57
include_package_data = True ,
51
58
install_requires = install_requires ,
52
59
dependency_links = dependency_links ,
Original file line number Diff line number Diff line change
1
+ # Copyright (C) 2019-2020 HERE Europe B.V.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # SPDX-License-Identifier: Apache-2.0
16
+ # License-Filename: LICENSE
17
+
18
+ """Project version information."""
19
+
20
+ __version__ = "0.0.1"
You can’t perform that action at this time.
0 commit comments