File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 7
7
# SPDX-License-Identifier: BSD-3-Clause
8
8
9
9
from setuptools import setup
10
- from erpc import erpc_version
11
10
from codecs import open
12
11
from os import path
13
12
13
+ ERPC_VERSION = None
14
14
here = path .abspath (path .dirname (__file__ ))
15
15
16
16
with open (path .join (here , 'README_Pypi.md' ), encoding = 'utf-8' ) as f :
17
17
long_description = f .read ()
18
18
19
+ with open (path .join (here , 'erpc' , 'erpc_version.py' )) as f :
20
+ exec (f .read ())
21
+
19
22
#steps: https://packaging.python.org/distributing/
20
23
#source distribution: python setup.py sdist
21
24
#wheel distribution: python setup.py bdist_wheel
22
25
#web: https://pypi.python.org/pypi?%3Aaction=submit_form
23
26
24
27
setup (
25
28
name = "erpc" ,
26
- version = erpc_version . ERPC_VERSION ,
29
+ version = ERPC_VERSION ,
27
30
description = "eRPC Python infrastructure" ,
28
31
long_description = long_description ,
29
32
long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments