File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2727 TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
2828 run : |
2929 # This uses the version string from __about__.py, which we checked matches the git tag above
30+ python setup.py build
3031 python setup.py sdist
3132 twine upload dist/*
Original file line number Diff line number Diff line change 55with open ("mindsdb_sql_parser/__about__.py" ) as fp :
66 exec (fp .read (), about )
77
8+
89class Build (build_module .build ):
910 def run (self ):
1011 from mindsdb_sql_parser .parser import MindsDBParser
1112 try :
1213 MindsDBParser .build_to_file ()
1314 except Exception as e :
1415 print (f'Problem with building syntax. Import might be not efficient: { e } ' )
15- build_module . build . run ( self )
16+
1617
1718setuptools .setup (
1819 name = about ['__title__' ],
@@ -33,6 +34,6 @@ def run(self):
3334 ],
3435 python_requires = ">=3.6" ,
3536 cmdclass = {
36- 'sdist ' : Build
37+ 'build ' : Build
3738 },
3839)
You can’t perform that action at this time.
0 commit comments