forked from indico/newdle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (28 loc) · 818 Bytes
/
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
import os
from setuptools import find_packages, setup
def read_requirements_file(fname):
with open(fname, 'r') as f:
return [
dep.strip()
for dep in f.readlines()
if not (dep.startswith('-') or '://' in dep)
]
def get_requirements():
return read_requirements_file(
os.path.join(os.path.dirname(__file__), 'requirements.txt')
)
setup(
name='newdle',
version='1.0-dev',
url='https://github.com/indico/newdle',
license='MIT',
author='Indico Team',
author_email='[email protected]',
description='Not Doodle.',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
python_requires='>=3.7',
install_requires=get_requirements(),
extras_require={'exchange': ['exchangelib']},
)