-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·33 lines (27 loc) · 930 Bytes
/
setup.py
File metadata and controls
executable file
·33 lines (27 loc) · 930 Bytes
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
#!/usr/bin/python3
from setuptools import setup, find_packages
from codecs import open
import os, os.path
with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name = "pmaker",
description = "Toolkit for creating problems for programming competitions",
long_description = long_description,
long_description_content_type='text/x-rst',
url = "https://github.com/p-maker/pmaker",
author = "Dmitry Sayutin",
python_requires = ">=3.5, <4",
setup_requires = ['setuptools_scm', 'jinja2', 'python_version>="3.5"'],
use_scm_version = {"local_scheme": "dirty-tag"},
packages = find_packages('src'),
package_dir = {'': 'src'},
entry_points = {
'console_scripts': [
'pmaker = pmaker.enter:main'
]
},
package_data = {
'': ['*.css', '*.html']
}
)