-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
51 lines (37 loc) · 1.23 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
__version__ = None
with open(path.join(here, 'senapy', '__version.py')) as __version:
exec(__version.read())
assert __version__ is not None
with open(path.join(here, 'README.md')) as readme:
LONG_DESC = readme.read()
with open(path.join(here, 'requirements.txt')) as f:
requirements = []
for req in f.read().splitlines():
requirements.append(req)
setup(
name='senapy',
version=__version__,
description='Python client for senat.fr website',
long_description=LONG_DESC,
long_description_content_type='text/markdown',
license="MIT",
url='https://github.com/regardscitoyens/senapy',
author='Regards Citoyens',
author_email='[email protected]',
include_package_data=True,
classifiers=[
'Development Status :: 1 - Planning',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
],
keywords='scraping politics data',
packages=find_packages(),
install_requires=requirements,
scripts=['bin/senapy-cli'],
)