-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
45 lines (39 loc) · 1.44 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
import os
from setuptools import find_packages, setup
import mwcites
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def requirements(fname):
return [line.strip()
for line in open(os.path.join(os.path.dirname(__file__), fname))]
setup(
name = "mwcites",
version = mwcites.__version__,
author = "Aaron Halfaker",
author_email = "[email protected]",
description = "A collection of scripts and utilities for extracting " +
"citations to academic literature from Wikipedia's XML " +
"database dumps.",
license = "MIT",
url = "https://github.com/halfak/Extract-scholarly-article-citations-from-Wikipedia",
packages=find_packages(),
entry_points = {
'console_scripts': [
'mwcitations=mwcites.mwcites:main',
'mwcites=mwcites.mwcites:main'
],
},
long_description = read('README.rst'),
install_requires = ['docopt', 'more-itertools', 'mediawiki-utilities'],
classifiers=[
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Utilities",
"Topic :: Scientific/Engineering"
]
)