-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
48 lines (43 loc) · 1.29 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
46
47
48
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
from grader import (
__author__,
__description__,
__license__,
__name__,
__url__,
__version__,
)
# this file is used to pick the relevant metadata for setup.py
INITFILE = os.path.join('grader', '__init__.py')
# the directory we are in
CWD = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file
with open(os.path.join(CWD, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
version=__version__,
author=__author__,
description=__description__,
long_description=long_description,
license=__license__,
name=__name__,
url=__url__,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', # noqa
'Programming Language :: Python :: 3',
],
keywords='grading applications',
packages=find_packages(),
install_requires=['pytest', 'numpy'],
entry_points={
'console_scripts': [
'grader=grader.grader:main',
],
},
)