-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
47 lines (40 loc) · 1.5 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
from os.path import splitext, basename, join, abspath, dirname
from glob import glob
from setuptools import find_packages
from setuptools import setup
here = dirname(__file__)
reqs = join(here, 'requirements.txt')
print(reqs)
# get the dependencies and installs
with open(abspath(reqs)) as f:
all_reqs = f.read().split('\n')
install_requires = [x.strip() for x in all_reqs if 'git+' not in x]
# read the contents of your README file
this_directory = abspath(dirname(__file__))
with open(join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='certn-python',
version='1.2.4',
url='https://github.com/livebungalow/certn-python-public',
license='MIT',
author='Bungalow Living',
author_email='[email protected]',
summary='A python client for Certn API',
description='A python client for Certn API',
long_description=long_description,
long_description_content_type='text/markdown',
packages=find_packages('certn-python'),
package_dir={'': 'certn-python'},
py_modules=[splitext(basename(path))[0] for path in glob('certn-python/*.py')],
include_package_data=True,
install_requires=install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)