-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·54 lines (48 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
47
48
49
50
51
52
53
54
#!/usr/bin/env python
from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.txt')).read()
PROJECT = u'ssmrandom'
VERSION = '0.3'
URL = 'https://github.com/leifj/ssmrandom'
AUTHOR = u'Leif Johansson'
AUTHOR_EMAIL = u'[email protected]'
DESC = "Entropy distribution using SSM (source-specific multicast)"
def read_file(file_name):
file_path = os.path.join(
os.path.dirname(__file__),
file_name
)
return open(file_path).read()
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=README + '\n\n' + NEWS,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license='BSD',
namespace_packages=[],
packages=find_packages('src'),
package_dir = {'': 'src'},
include_package_data=True,
zip_safe=False,
install_requires=[
'python-daemon',
'lockfile'
],
entry_points = {
'console_scripts':
['ssmrandom=ssmrandom:main']
},
classifiers=[
# see http://pypi.python.org/pypi?:action=list_classifiers
# -*- Classifiers -*-
'License :: OSI Approved',
'License :: OSI Approved :: BSD License',
"Programming Language :: Python",
],
)