forked from MatthewJohn/python-sfdisk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·57 lines (50 loc) · 1.75 KB
/
setup.py
File metadata and controls
executable file
·57 lines (50 loc) · 1.75 KB
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
47
48
49
50
51
52
53
54
55
56
57
"""Setup."""
# Authors
#
# - pre-alpha 0.0.1 2016 - Matt Comben
# - GA 1.0.0 2020 - Tomasz Szuster
#
# Copyrigh (c)
#
# This file is part of pysfdisk.
#
# pysfdisk is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# pysfdisk is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with pysfdisk. If not, see <http://www.gnu.org/licenses/>
from os import path
from setuptools import setup
# The directory containing this file
HERE = path.abspath(path.dirname(__file__))
# The text of the README file
with open(path.join(HERE, "README.rst")) as fid:
LONG_DESCRIPTION = fid.read()
with open(path.join(HERE, "VERSION")) as version_fh:
VERSION = version_fh.read()
setup(
author="Matt Comben, Tomasz Szuster",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/x-rst",
classifiers=[
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
],
license="GNU GENERAL PUBLIC LICENSE",
name="py-disk-imager",
packages=["pysfdisk"],
url="https://github.com/beskidinstruments/python-sfdisk",
version=VERSION,
include_package_data=True,
)