-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (36 loc) · 1.01 KB
/
setup.py
File metadata and controls
39 lines (36 loc) · 1.01 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
from setuptools import setup
import os
import logging
# https://stackoverflow.com/a/36693250
def package_files(directory):
paths = []
for (path, _, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join('..', path, filename))
return paths
extra_files = package_files('jmu_gradescope_utils/data')
setup(
name='jmu_gradescope_utils',
version='0.2',
packages=['jmu_gradescope_utils'],
url='',
license='',
author='Nathan Sprague',
author_email='nathan.r.sprague@gmail.com',
description='Python Gradescope utilities',
install_requires=[
'gradescope-utils>=0.4',
'flake8',
'coverage>=6.0',
'pep8-naming',
'flake8-docstrings',
'flake8-rst-docstrings',
'darglint',
'tk',
'importlib_metadata>=4.2',
],
scripts=['scripts/test_autograder.py',
'scripts/jmu_gradescope_builder.py'],
include_package_data=True,
package_data={'': extra_files},
)