-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (44 loc) · 1.42 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 os.path import abspath
from os.path import dirname
from os.path import join
from setuptools import find_packages
from setuptools import setup
import eruditarticle
def read_relative_file(filename):
"""
Returns contents of the given file, whose path is supposed relative
to this module.
"""
with open(join(dirname(abspath(__file__)), filename)) as f:
return f.read()
setup(
name="liberuditarticle",
version=eruditarticle.__version__,
author="Erudit",
author_email="info@erudit.org",
packages=find_packages(),
include_package_data=True,
url="https://github.com/erudit/liberuditarticle",
license="GPLv3",
description="A library to fetch Erudit data from fedora.",
long_description=read_relative_file("README.md"),
zip_safe=False,
install_requires=[
"six",
"roman",
"lxml",
],
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
],
)