Redirect pygame message and add wiki to sdist

This commit is contained in:
Nguyễn Gia Phong 2020-03-04 09:41:05 +07:00
parent b90e6c272c
commit c326f93bbb
2 changed files with 5 additions and 2 deletions

View File

@ -21,13 +21,15 @@ __version__ = '0.9.0'
import re
from argparse import ArgumentParser, FileType, RawTextHelpFormatter
from configparser import ConfigParser
from contextlib import redirect_stdout
from io import StringIO
from math import atan2, radians, pi
from os.path import join as pathjoin, pathsep
from socket import socket, SOL_SOCKET, SO_REUSEADDR
from sys import stdout
from threading import Thread
import pygame
with redirect_stdout(StringIO()): import pygame
from pygame import KEYDOWN, MOUSEBUTTONUP, QUIT, VIDEORESIZE
from pygame.time import Clock, get_ticks
from appdirs import AppDirs

View File

@ -28,4 +28,5 @@ license = 'AGPLv3+'
brutalmaze = "brutalmaze.game:main"
[tool.flit.sdist]
exclude = ['docs', 'wiki']
include = ['wiki']
exclude = ['docs']