-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
39 lines (33 loc) · 1016 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
30
31
32
33
34
35
36
37
38
39
import os
from setuptools import setup, find_packages
import re
def get_version():
VERSIONFILE = "p2d/_version.py"
dictionary_for_exec = {}
exec(open(VERSIONFILE).read(), dictionary_for_exec)
return dictionary_for_exec['__version__']
setup(
name='pol2dom',
version=get_version(),
description='Transform a set of Polygon problems into a DOMjudge contest. Downloading from Polygon, converting to the DOMjudge package format, and importing into a DOMjudge server.',
author='dario2994',
author_email='dario2994@gmail.com',
url='https://github.com/dario2994/pol2dom',
license='MIT',
packages=find_packages(),
package_data={'': ['resources/*.tex']},
include_package_data=True,
entry_points={
'console_scripts': [
'p2d=p2d.p2d:main'
]
},
python_requires='>=3.7',
platforms='any',
install_requires=[
'pyyaml >= 5.3',
'requests >= 2.26',
'webcolors >= 1.0',
'tqdm >= 4.64.1'
]
)