-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
46 lines (40 loc) · 1.22 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
from os.path import join, dirname
from setuptools import setup, find_packages
from json import load
def read(fname):
with open(join(dirname(__file__), fname)) as f:
return f.read()
def metadata(value):
with open(join(dirname(__file__), "metadata.json")) as f:
return load(f)[value]
setup(
# Package
name="pygame-minesweeper",
version=metadata("version"),
packages=find_packages(exclude=("tests", "screenshots")),
url="https://github.com/andreasisnes/Elitekollektivet.Minesweeper",
install_requires=[
"pygame",
"pygame-minesweeper-core",
"pygame-minesweeper-sprites",
"appdirs",
],
entry_points={
"console_scripts": [
"minesweeper = minesweeper.__main__:main"
],
},
zip_safe=False,
# Contact
author="Andreas Isnes Nilsen",
author_email="[email protected]",
# Description
description="Minesweeper game implemented in python using pygame",
long_description=read("README.md"),
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)