-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
80 lines (64 loc) · 2.04 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/usr/bin/python3
from setuptools import setup, find_packages
LONG_DESCRIPTION = """
Urizen
======
Urizen is the roguelike dungeon generation library written on Python3. It has various algorithms that can be used to generate maps on scale of single rooms to the whole world.
**Note: This project is on early stage of development. It can contain bugs, API breaking changes and lack of documentation.**
Features
--------
- Two main collections - generators and visualizers - that can be used in any variations.
- Easy-to-use map objects with no need of additional libraries.
- Modular architecture that allows simple extension.
Simple example
--------------
.. code:: python
# Import this library
import urizen as uz
# Create a 50x50 size map using BSP algorithm
M = uz.dungeon_bsp_tree(50, 50)
# And visualize it using Pillow with Urizen tileset
uz.vg_tiled(M, scale=3)
The result image will be automatically opened with a default image viewer.
"""
setup(
name='urizen',
version='0.2.5',
description='Roguelike world generation library',
long_description=LONG_DESCRIPTION,
url='https://github.com/vurmux/urizen',
author='Andrey Voronov',
author_email='vurmux@gmail.com',
license='Apache',
classifiers=[
'Development Status :: 1 - Planning',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3 :: Only',
],
keywords='',
packages=find_packages(exclude=['doc', 'res', 'build', 'dist']),
install_requires=[
'Pillow',
'pygame>=2.0.0',
'pygame_gui'
],
extras_require={
'dev': [],
'test': [],
},
package_data={
'urizen': [
'data/tilesets/*/*.json',
'data/tilesets/*/*.png',
'data/tilesets/*/*.tsx',
'data/themes/gui_theme.json',
'data/themes/images/*.png'
]
},
include_package_data=True,
entry_points={
"console_scripts": [
"urizen = urizen.gui.gui_pygame:main"
]
},
)