-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
46 lines (41 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
43
44
45
46
from pip.download import PipSession
from pip.req import parse_requirements
from setuptools import setup, find_packages
links = []
requires = []
requirements = parse_requirements('requirements.txt', session=PipSession())
for item in requirements:
# we want to handle package names and also repo urls
if getattr(item, 'url', None):
links.append(str(item.url))
if getattr(item, 'link', None):
links.append(str(item.link))
if item.req:
requires.append(str(item.req))
setup(
name='smsfarm',
version='1.0.0',
packages=find_packages(),
url='https://github.com/j-mak/smsfarm',
license="MIT License",
author='Jozef "sunny" Mak',
author_email='[email protected]',
description='Python client for smsfarm.sk',
long_description="Python client for smsfarm.sk",
install_requires=requires,
keywords=[
'smsfarm',
'sms-client'
],
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
],
dependency_links=links,
zip_safe=False,
)