-
Notifications
You must be signed in to change notification settings - Fork 16
/
setup.py
30 lines (23 loc) · 955 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
from setuptools import setup, find_packages
from pathlib import Path
import glob
interactive_files = []
for f in glob.glob('src/interactive_interface/dist/**', recursive=True):
if not Path(f).is_dir():
interactive_files.append('..' + f[3:])
for f in glob.glob('src/interactive_interface/lean_server/**', recursive=True):
if not Path(f).is_dir():
interactive_files.append('..' + f[3:])
setup(
name='Lean game maker',
version='0.0.1',
author='Mohammad Pedramfar',
author_email='[email protected]',
description='A Lean game maker',
packages=find_packages('src'),
package_dir={'': 'src'},
package_data={
'': ['*.css', '*.css.map', '*.js', 'templates/*'] + interactive_files,
},
scripts=['bin/make-lean-game'],
install_requires=['regex >= 2018.7.11', 'jinja2 >= 2.10', 'mistletoe >= 0.7.1', 'toml >= 0.10.0', 'fire >= 0.1.3', 'jsonpickle >= 1.2', 'polib >= 1.1.0'])