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 77# SPDX-License-Identifier: BSD-3-Clause
88
99from setuptools import setup
10- from erpc import erpc_version
1110from codecs import open
1211from os import path
1312
13+ ERPC_VERSION = None
1414here = path .abspath (path .dirname (__file__ ))
1515
1616with open (path .join (here , 'README_Pypi.md' ), encoding = 'utf-8' ) as f :
1717 long_description = f .read ()
1818
19+ with open (path .join (here , 'erpc' , 'erpc_version.py' )) as f :
20+ exec (f .read ())
21+
1922#steps: https://packaging.python.org/distributing/
2023#source distribution: python setup.py sdist
2124#wheel distribution: python setup.py bdist_wheel
2225#web: https://pypi.python.org/pypi?%3Aaction=submit_form
2326
2427setup (
2528 name = "erpc" ,
26- version = erpc_version . ERPC_VERSION ,
29+ version = ERPC_VERSION ,
2730 description = "eRPC Python infrastructure" ,
2831 long_description = long_description ,
2932 long_description_content_type = "text/markdown" ,
You can’t perform that action at this time.
0 commit comments