-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·57 lines (49 loc) · 1.58 KB
/
setup.py
File metadata and controls
executable file
·57 lines (49 loc) · 1.58 KB
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
#!/usr/bin/env python3
# much of the structure here was cribbed from
# https://github.com/pypa/sampleproject
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
version = {}
with open("xapers/version.py") as f:
exec(f.read(), version)
setup(
name='xapers',
version=version['__version__'],
description='Personal journal article management system',
long_description=long_description,
author='Jameson Graef Rollins',
author_email='jrollins@finestructure.net',
url='https://finestructure.net/xapers',
license='GPLv3+',
keywords=[],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Environment :: Console',
'Environment :: Console :: Curses',
'Operating System :: POSIX',
'Programming Language :: Python :: 3 :: Only'],
# install_requires = [
# 'xapian',
# 'pybtex',
# 'urwid',
# ],
packages=[
'xapers',
'xapers.parsers',
'xapers.sources',
'xapers.nci',
],
# https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/
# should we have a 'gui_scripts' as well?
entry_points={
'console_scripts': [
'xapers = xapers.__main__:main',
],
},
)