-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (31 loc) · 1 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
# -*- coding: utf-8 -*-
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-core",
version=metadata("version"),
packages=find_packages(exclude=("tests")),
url="https://github.com/andreasisnes/Elitekollektivet.Minesweeper.Core",
zip_safe=False,
include_package_data=True,
# Contact
author="Andreas Isnes Nilsen",
author_email="[email protected]",
# Description
description="Minesweeper game core library",
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",
],
)