-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (43 loc) · 1.62 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
from setuptools import setup, find_packages
import os, sys
def parse_requirements(filename='requirements.txt'):
with open(filename) as f:
return f.read().splitlines()
try:
if os.path.exists('requirements.txt'):
install_requires = parse_requirements('requirements.txt')
except FileNotFoundError:
print('ERROR: Requirements.txt file not found in repository.')
sys.exit(1)
else:
setup(
name='q3avant',
version='0.0.46',
author='Jordy Veenstra / A Pixelated Point of View',
author_email='jordy.gaptx@gmail.com',
description='Random data-generating algorithm for experimental Quake III Arena Machinima (post-)production',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
url='https://github.com/jiyorude/avant',
project_urls={
"GitHub": "https://www.github.com/jiyorude/avant",
"BitBucket": "https://bitbucket.org/appov/avant/src/main/",
"Documentation": "https://avant-docs.vercel.app/",
"Issues": "https://github.com/jiyorude/avant/issues",
"PyPi": "#"
},
package_dir={'': 'src'},
packages=find_packages(where='src'),
install_requires=install_requires,
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
python_requires='>=3.8',
entry_points={
'console_scripts': [
'q3avant_run = avant.avant:run_avant',
],
},
)