forked from srbcheema1/Nith_results
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (30 loc) · 1.08 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
#!/usr/bin/env python3
import os
from setuptools import setup, find_packages
from nith_results import __version__, __mod_name__
with open("README.md", 'r') as f:
long_description = f.read()
with open('requirements.txt', 'r') as f:
requirements = [line.strip() for line in f.readlines()]
setup(
name=__mod_name__,
version=__version__,
description='A Script to display results of nith',
long_description=long_description,
long_description_content_type='text/markdown',
author='Sarbjit Singh',
author_email='[email protected]',
url='http://github.com/srbcheema1/'+__mod_name__,
packages=find_packages(), # provides same list, looks for __init__.py file in dir
include_package_data=True,
install_requires=requirements, #external packages as dependencies
entry_points={
'console_scripts': [__mod_name__+'='+__mod_name__+'.main:main']
},
classifiers=[
'Operating System :: POSIX :: Linux',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
],
license='MIT License',
)