-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
44 lines (39 loc) · 1.22 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
import glob
from setuptools import setup
def findfiles(pat):
#return [x[10:] for x in glob.glob('latex2dnd/' + pat)]
return [x for x in glob.glob('share/' + pat)]
data_files = [
('share/lib', findfiles('lib/*')),
('share/tex', findfiles('tex/*')),
('share/testtex', findfiles('testtex/*')),
]
# print "data_files = %s" % data_files
setup(
name='latex2dnd',
version='1.2.0',
author='I. Chuang',
author_email='[email protected]',
packages=['latex2dnd', 'latex2dnd.test'],
scripts=[],
url='http://pypi.python.org/pypi/latex2dnd/',
license='LICENSE.txt',
description='Generate edX drag-and-drop problems using compilation from latex',
long_description=open('README.txt').read(),
long_description_content_type='text/markdown',
include_package_data=True,
entry_points={
'console_scripts': [
'latex2dnd = latex2dnd.main:CommandLine',
],
},
install_requires=['lxml',
'path.py',
],
dependency_links = [
],
package_dir={'latex2dnd': 'latex2dnd'},
package_data={ 'latex2dnd': ['tex/*', 'testtex/*'] },
# data_files = data_files,
test_suite = "latex2dnd.test",
)