-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
54 lines (49 loc) · 1.58 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
# -*- coding: utf-8 -*-
#
# © 2015 Krux Digital, Inc.
#
"""
Package setup for python-virtualenv-packager, aka ve-packager.
"""
######################
# Standard Libraries #
######################
from __future__ import absolute_import
from setuptools import setup, find_packages
# version: this requires an environment with dependencies installed.
from vep import __version__
# We use the version to construct the DOWNLOAD_URL.
NAME = 've-packager'
# URL to the repository on Github.
REPO_URL = 'https://github.com/krux/python-virtualenv-packager'
# Github will generate a tarball as long as you tag your releases, so don't
# forget to tag!
DOWNLOAD_URL = ''.join((REPO_URL, '/tarball/release/', __version__))
# Requirements
# If you have the option, run "pip install -r requirements.pip"
setup(
name = NAME,
version = __version__,
author = 'Paul Krohn',
author_email = '[email protected]',
maintainer = 'Paul Krohn',
maintainer_email = '[email protected]',
description = 'Create an apt package from a python projet repo.',
long_description = """
Creates a virtualenv, installs dependencies, fixes paths, calls fpm to create a .deb package.
""",
url = REPO_URL,
download_url = DOWNLOAD_URL,
license = 'All Rights Reserved.',
packages = find_packages(),
install_requires = [
"krux-stdlib",
"sh",
"virtualenv-tools"
],
entry_points = {
'console_scripts': [
've-packager = vep:main',
],
},
)