Skip to content

Commit

Permalink
Enhanced setup.py to support Ubuntu 18.10 and 19.04
Browse files Browse the repository at this point in the history
Signed-off-by: Waldemar Kozaczuk <[email protected]>
  • Loading branch information
wkozaczuk committed Apr 28, 2019
1 parent c839511 commit e37bbc9
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions scripts/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,6 @@ class Ubuntu(object):
'libncurses5-dev',
'libssl-dev',
'libtool',
'libvirt-bin',
'libyaml-cpp-dev',
'maven',
'openssl',
Expand All @@ -262,49 +261,63 @@ class Ubuntu(object):
test_packages = ['libssl-dev', 'zip']
ec2_post_install = None

class Ubuntu_19_04(object):
packages = ['openjdk-8-jdk', 'bridge-utils', 'libvirt-daemon-system', 'libvirt-clients']
ec2_packages = ['ec2-api-tools', 'awscli']
test_packages = []
ec2_post_install = None
version = '19.04'

class Ubuntu_18_10(object):
packages = ['openjdk-8-jdk', 'bridge-utils', 'libvirt-daemon-system', 'libvirt-clients']
ec2_packages = ['ec2-api-tools', 'awscli']
test_packages = []
ec2_post_install = None
version = '18.10'

class Ubuntu_18_04(object):
packages = ['openjdk-8-jdk', 'bridge-utils']
packages = ['openjdk-8-jdk', 'bridge-utils', 'libvirt-bin']
ec2_packages = ['ec2-api-tools', 'awscli']
test_packages = []
ec2_post_install = None
version = '18.04'

class Ubuntu_17_04(object):
packages = ['openjdk-8-jdk']
packages = ['openjdk-8-jdk', 'libvirt-bin']
ec2_packages = ['ec2-api-tools', 'awscli']
test_packages = []
ec2_post_install = None
version = '17.04'

class Ubuntu_16_04(object):
packages = ['openjdk-8-jdk']
packages = ['openjdk-8-jdk', 'libvirt-bin']
ec2_packages = ['ec2-api-tools', 'awscli']
test_packages = []
ec2_post_install = None
version = '16.04'

class Ubuntu_15_04(object):
packages = ['openjdk-7-jdk']
packages = ['openjdk-7-jdk', 'libvirt-bin']
ec2_packages = ['ec2-api-tools', 'awscli']
test_packages = []
ec2_post_install = None
version = '15.04'

class Ubuntu_14_04(object):
packages = ['openjdk-7-jdk']
packages = ['openjdk-7-jdk', 'libvirt-bin']
ec2_packages = ['ec2-api-tools', 'awscli']
test_packages = []
ec2_post_install = None
version = '14.04'

class Ubuntu_13_10(object):
packages = ['openjdk-7-jdk']
packages = ['openjdk-7-jdk', 'libvirt-bin']
ec2_packages = []
test_packages = []
ec2_post_install = standard_ec2_post_install
version = '13.10'

versions = [Ubuntu_18_04, Ubuntu_17_04, Ubuntu_16_04, Ubuntu_15_04, Ubuntu_14_04, Ubuntu_13_10]
versions = [Ubuntu_19_04, Ubuntu_18_10, Ubuntu_18_04, Ubuntu_17_04, Ubuntu_16_04, Ubuntu_15_04, Ubuntu_14_04, Ubuntu_13_10]

class LinuxMint(Ubuntu):
name = 'LinuxMint'
Expand Down

0 comments on commit e37bbc9

Please sign in to comment.