-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
58 lines (49 loc) · 1.71 KB
/
Copy pathsetup.py
File metadata and controls
58 lines (49 loc) · 1.71 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
from setuptools import setup, find_packages
from distutils.cmd import Command
from subprocess import call
import os
import vulk
class DocCommand(Command):
'''Generate doc with mkdocs'''
description = "Generate documentation"
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
# Generate doc
call(['mkdocs', 'build', '-q', '-d', 'vulk-doc'])
# Add readme
with open('vulk-doc/README.md', 'w') as f:
f.write('# Vulk Documentation\n\n')
f.write('[LINK TO DOCUMENTATION]')
f.write('(https://realitix.github.io/vulk-doc)\n\n')
f.write('[LINK TO VULK ENGINE]')
f.write('(https://github.com/realitix/vulk)')
setup(
name="vulk",
version=vulk.__version__,
packages=find_packages(),
author="realitix",
author_email="realitix@gmail.com",
description="Vulk: Advanced 3D engine",
long_description='Go to http://github.com/realitix/vulk',
install_requires=['vulkbare', 'docopt', 'numpy', 'pysdl2', 'vulkan',
'pyshaderc', 'path.py'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
include_package_data=True,
url="http://github.com/realitix/vulk",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.6",
'Programming Language :: Python :: Implementation :: CPython',
"Topic :: Multimedia :: Graphics :: 3D Rendering"
],
license="Apache 2.0",
cmdclass={'doc': DocCommand}
)