-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (26 loc) · 930 Bytes
/
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
import os
import re
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
with open(os.path.join(os.path.dirname(__file__), 'pypersonnelloc', '__init__.py')) as f:
version = re.search("__version__ = '([^']+)'", f.read()).group(1)
with open('requirements.txt') as reqs_f:
reqs = reqs_f.read().strip().split('\n')
setup(
name='pypersonnelloc',
version=version,
description='Personnel Localization Service',
url='https://github.com/virtual-origami/pypersonnelloc',
long_description=readme(),
long_description_content_type='text/markdown',
author='Karthik Shenoy Panambur, Shantanoo Desai',
author_email='[email protected], [email protected]',
license='MIT License',
packages=find_packages(),
scripts=['bin/personnel-loc'],
install_requires=reqs,
include_data_package=True,
zip_safe=False
)