This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (49 loc) · 1.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
"""
logical-enough, A small website to test student's knowledge of search expressions.
"""
# adapted over https://github.com/pypa/sampleproject/blob/master/setup.py
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')) as f:
long_description = f.read()
with open(path.join(here, 'requirements/requirements.in')) as f:
requirements = f.readlines()
with open(path.join(here, 'requirements/requirements-dev.in')) as f:
requirements_dev = f.readlines()[1:]
setup(
name='logical-enough',
version='0.2a0',
# Description
description=__doc__,
long_description=long_description,
long_description_content_type='text/markdown',
keywords='website',
project_urls={
'Bug Reports': 'https://gitea.pierrebeaujean.net/pierre/logical-enough/issues',
'Source': 'https://gitea.pierrebeaujean.net/pierre/logical-enough/',
},
url='https://logic.pierrebeaujean.net/',
author='Pierre Beaujean',
# Classifiers
classifiers= [
'Development Status :: 3 - Alpha',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'License :: OSI Approved :: MIT License',
# Specify the Python versions:
'Framework :: Flask'
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
packages=find_packages(),
python_requires='>=3.5',
# requirements
install_requires=requirements,
extras_require={ # Optional
'dev': requirements_dev,
},
)