File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ This creates a directory called docs containing the generated documentation.
2828
2929Generate the Python code:
3030```
31- python -m grpc_tools.protoc -I proto --python_out . proto/polyprism /*.proto
31+ python -m grpc_tools.protoc -I . --python_out . org/polypheny/prism /*.proto
3232```
Original file line number Diff line number Diff line change 1+ import os
2+
13from distutils .core import setup
24
5+ version = os .getenv ('version' , '0.0' ).split ('.' )
6+ if len (version ) != 2 :
7+ raise Exception ('Invalid version format' )
8+
9+ with open ('org/polypheny/prism/version.py' , 'w' ) as f :
10+ f .write (f'MAJOR_VERSION = { version [0 ]} \n ' )
11+ f .write (f'MINOR_VERSION = { version [1 ]} \n ' )
12+
313setup (name = 'polyphenyprism' ,
414 version = '0.1' ,
515 description = 'Protobuf files for Polypheny' ,
6- packages = ['polyprism ' ],
16+ packages = ['org/polypheny/prism ' ],
717 install_requires = [
818 "protobuf==4.24.3" ,
919 ],
You can’t perform that action at this time.
0 commit comments