-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (45 loc) · 1.59 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
49
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# make sure that VERSION can be converted to float
with open(path.join(here, 'md2docx', 'VERSION')) as f:
VERSION = f.read().strip('\n') # editors love to add newline
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='md2docx',
version=VERSION,
description='Use MarkDown to write articles in the correct format',
long_description=long_description,
url='http://www.gpiantoni.com/md2docx',
author='Gio Piantoni',
author_email='[email protected]',
license='GPLv3',
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: Scientific/Engineering :: Visualization',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
],
keywords='writing docx markdown journals',
packages=find_packages(),
install_requires=['python-docx', 'latexcodec'],
package_data={
'md2docx': ['VERSION',
'var/acronyms.txt',
'var/csl',
'var/docx/reference.docx',
'var/journals/*.json',
'var/nodejs/citeproc.js',
'var/nodejs/processcite.js',
],
},
entry_points={
'console_scripts': [
'md2docx=md2docx.main:main',
'prepare_bib=md2docx.main:prepare_bib',
],
},
)