Commit 497e94f1 authored by Bruno Guillaume's avatar Bruno Guillaume

prepare for Pypi release

parent a4bea99f
This diff is collapsed.
doc:
@echo "make build_dist: run python3 setup.py"
@echo "make upload_test: upload on the test.pypi website"
@echo "make upload_prod: upload on the prod pypi website"
build_dist:
python3 setup.py sdist bdist_wheel
upload_test:
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
upload_prod:
twine upload dist/*
# dep2pict_gui
TODO
\ No newline at end of file
name "dep2pict_gui"
......@@ -226,8 +226,14 @@ class Dep2pict(QMainWindow):
msgBox.setText(text)
msgBox.exec_()
if __name__ == '__main__':
def main():
import sys
app = QApplication(sys.argv)
screen = app.desktop().screenGeometry()
ex = Dep2pict(screen)
sys.exit(app.exec_())
if __name__ == '__main__':
main()
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='dep2pict_gui',
version='0.1.0',
packages=setuptools.find_packages(),
license='LICENSE/Licence_CeCILL_V2-en.txt',
description="A Qt interface for the dep2pict software",
long_description=long_description,
long_description_content_type="text/markdown",
url="http://dep2pict.loria.fr",
author="bguil",
author_email="Bruno.Guillaume@loria.fr",
entry_points={
'gui_scripts': [
'dep2pict_gui = dep2pict_gui.dep2pict:main',
],
}
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment