Start using setuptools
This commit is contained in:
parent
186a899c69
commit
68595dcb7a
3 changed files with 37 additions and 2 deletions
9
CHANGELOG.md
Normal file
9
CHANGELOG.md
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
# Changelog
|
||||||
|
|
||||||
|
## Next version
|
||||||
|
|
||||||
|
Nothing yet.
|
||||||
|
|
||||||
|
## 0.1.0 (2019-04-12)
|
||||||
|
|
||||||
|
- use setuptools
|
||||||
|
|
@ -13,7 +13,7 @@ from .launch_application import launch
|
||||||
from .euph_config import EuphConfig, EuphLoader
|
from .euph_config import EuphConfig, EuphLoader
|
||||||
from .room_widget import RoomWidget
|
from .room_widget import RoomWidget
|
||||||
|
|
||||||
__all__ = ["SingleRoomApplication"]
|
__all__ = ["SingleRoomApplication", "launch_single_room_application"]
|
||||||
|
|
||||||
class ChooseRoomWidget(urwid.WidgetWrap):
|
class ChooseRoomWidget(urwid.WidgetWrap):
|
||||||
|
|
||||||
|
|
@ -130,5 +130,5 @@ class SingleRoomApplication(urwid.WidgetWrap):
|
||||||
|
|
||||||
return key
|
return key
|
||||||
|
|
||||||
if __name__ == "__main__":
|
def launch_single_room_application():
|
||||||
launch(SingleRoomApplication)
|
launch(SingleRoomApplication)
|
||||||
|
|
|
||||||
26
setup.py
Normal file
26
setup.py
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
from setuptools import setup
|
||||||
|
|
||||||
|
setup(
|
||||||
|
name="cheuph",
|
||||||
|
version="0.0.1",
|
||||||
|
packages=[
|
||||||
|
"cheuph",
|
||||||
|
"cheuph.euphoria",
|
||||||
|
],
|
||||||
|
entry_points={
|
||||||
|
"console_scripts": [
|
||||||
|
"cheuph = cheuph.euphoria:launch_single_room_application",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
install_requires=[
|
||||||
|
"PyYAML >= 5.1.1",
|
||||||
|
"urwid >= 2.0.1",
|
||||||
|
"websockets >= 7.0",
|
||||||
|
"yaboli @ git+https://github.com/Garmelon/yaboli@v1.1.4",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
|
# When updating the version, also:
|
||||||
|
# - update the README.md installation instructions
|
||||||
|
# - update the changelog
|
||||||
|
# - set a tag on the update commit
|
||||||
Loading…
Add table
Add a link
Reference in a new issue