-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (32 loc) · 1.14 KB
/
setup.py
File metadata and controls
36 lines (32 loc) · 1.14 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
import os
from setuptools import setup, find_packages
from pip.req import parse_requirements
from pip.download import PipSession
version = '0.1.0'
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
install_reqs = parse_requirements('requirements.txt', session=PipSession())
reqs = [str(ir.req) for ir in install_reqs]
setup(name='maze-builder',
version=version,
description=('Builds and tweets random mazes.'),
long_description='\n\n'.join((read('README.md'), read('CHANGELOG'))),
classifiers=[
'License :: OSI Approved :: MIT License',
'Intended Audience :: Other Audience',
'Programming Language :: Python :: 3'],
author='K.C.Saff',
author_email='kc@saff.net',
url='https://github.com/kcsaff/maze-builder',
license='MIT',
packages=find_packages(),
install_requires=reqs,
entry_points={
'console_scripts': ['maze-builder = maze_builder:entry']
},
include_package_data = True,
package_data={'maze_builder.castles.resources.': ['*.jinja2']},
data_files=[
('config', ['povray.ini'])
]
)