-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
48 lines (38 loc) · 1.38 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
47
48
from setuptools import setup, find_packages
import os
# Single-source version information
__version__ = None
__license__ = None
__author__ = None
repo_root = os.path.join(os.path.dirname(__file__))
vers_file = os.path.join(repo_root, "nbtschematic", "version.py")
exec(open(vers_file).read())
with open('README.md') as readme:
long_description = readme.read()
with open('requirements.txt') as requirements:
dependencies = [line.strip() for line in requirements]
setup(
name='nbtschematic',
version=__version__,
license=__license__,
description='A simple schematic file reader for nbtlib',
long_description=long_description,
long_description_content_type='text/markdown',
author=__author__,
author_email='[email protected]',
url='https://github.com/cbs228/nbtschematic',
platforms=['any'],
python_requires='>=3.8',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development :: Libraries :: Python Modules',
],
keywords='nbt schema minecraft mcschematic schematic package library',
packages=find_packages(),
install_requires=dependencies,
)