-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
42 lines (34 loc) · 1.33 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
#!/usr/bin/env python
# -*- coding: utf-8 -*
from __future__ import absolute_import
import os
from codecs import open
from setuptools import find_packages, setup
from libgenesis import __version__
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
with open('requirements.txt') as f:
install_requires = f.read().splitlines()
with open('README.md', 'r', encoding='utf-8') as rm_file:
readme = rm_file.read()
setup(name='libgenesis',
version=__version__,
packages=find_packages(exclude=('tests')),
zip_safe=False,
url='https://github.com/Samfun75/libgenesis',
long_description_content_type='text/markdown',
description='Asynchronous python lib for Libgen.rs',
download_url=f'https://github.com/Samfun75/libgenesis/archive/v{__version__}.tar.gz',
long_description=readme,
author='Samson Misganaw',
author_email='[email protected]',
license='MIT License',
install_requires=install_requires,
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Internet :: WWW/HTTP',
])