-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
34 lines (27 loc) · 904 Bytes
/
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
import os
from distutils.core import setup
from setuptools import find_packages
def package_files(directory):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
extra_files = package_files('minecraft_data/data/data')
setup(
name='minecraft_data',
description='Provide easy access to minecraft data in python',
license='MIT',
long_description=open('README.rst').read(),
version='3.20.0',
maintainer='Vito Gamberini',
maintainer_email='vito@gamberini.email',
url='https://github.com/SpockBotMC/python-minecraft-data',
packages=find_packages(),
package_data={'minecraft_data': extra_files},
install_requires=[],
keywords=['minecraft'],
classifiers=[
'License :: OSI Approved :: MIT License',
],
)