-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (29 loc) · 1003 Bytes
/
setup.py
File metadata and controls
32 lines (29 loc) · 1003 Bytes
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
import os
from setuptools import find_packages, setup
from glob import glob
from os.path import basename
from os.path import splitext
reqs_path = os.path.join(os.path.dirname(__file__), 'src/requirements.txt')
with open(reqs_path, 'r') as req_file:
dependencies = req_file.readlines()
setup(
name='ubuntu-watch-packages',
version='0.4.7',
install_requires=dependencies,
url='',
license='',
author='philroche',
author_email='phil.roche@canonical.com',
description='Helpful utility to watch specified packages, using rmadison, '
'in the ubuntu archive for transition between archive pockets',
packages=find_packages('src'),
package_dir={'': 'src'},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
include_package_data=True,
entry_points={
'console_scripts': [
'ubuntu-watch-packages = '
'ubuntu_watch_packages.ubuntu_watch_packages:ubuntu_watch_packages'
],
},
)