-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
92 lines (72 loc) · 2.76 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# -*- coding: utf-8 -*-
"""
LITERATUR
Literature management with Python, Dropbox and MediaWiki
https://github.com/pleiszenburg/literatur
setup.py: Used for package distribution
Copyright (C) 2017 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Version 2.1 ("LGPL" or "License"). You may not use this file except in
compliance with the License. You may obtain a copy of the License at
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
https://github.com/pleiszenburg/literatur/blob/master/LICENSE
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the
specific language governing rights and limitations under the License.
</LICENSE_BLOCK>
"""
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# IMPORT
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
from setuptools import (
find_packages,
setup
)
import os
from glob import glob
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# SETUP
# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Bump version HERE!
_version_ = '0.0.2'
# List all versions of Python which are supported
confirmed_python_versions = [
('Programming Language :: Python :: %s' % x)
for x in '3.4 3.5 3.6'.split()
]
# Fetch readme file
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
long_description = f.read()
setup(
name = 'literatur',
packages = find_packages('src'),
package_dir = {'': 'src'},
version = _version_,
description = 'Literature management with Python, Dropbox and MediaWiki',
long_description = long_description,
author = 'Sebastian M. Ernst',
author_email = '[email protected]',
url = 'https://github.com/pleiszenburg/literatur',
download_url = 'https://github.com/pleiszenburg/literatur/archive/v%s.tar.gz' % _version_,
license = 'LGPLv2',
keywords = ['literature'],
scripts = glob(os.path.join('scripts', '*')),
include_package_data = True,
install_requires = [],
zip_safe = False,
extras_require = {},
entry_points = {},
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3'
] + confirmed_python_versions + [
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Scientific/Engineering',
'Topic :: Utilities'
]
)