-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (33 loc) · 1002 Bytes
/
setup.py
File metadata and controls
36 lines (33 loc) · 1002 Bytes
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
from pathlib import Path
from sys import argv
import setuptools
README = Path(__file__).parent / 'README.rst'
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(argv)
setuptools.setup(
name='rosteron',
version='1.0.0',
description='Read-only RosterOn Mobile roster access',
long_description=README.read_text(),
url='https://github.com/Lx/python-rosteron',
author='Alex Peters',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Typing :: Typed',
],
packages=setuptools.find_packages(),
python_requires='~=3.7',
setup_requires=['pytest-runner'] if needs_pytest else [],
install_requires=[
'attrs',
'beautifulsoup4',
'mechanicalsoup',
],
tests_require=[
'pytest',
'requests-mock',
],
)