Add placeholders for ipaplatform, ipaserver and ipatests

I also renamed the base directory to pypi and added a new build target
pypi_packages.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
This commit is contained in:
Christian Heimes
2017-02-17 17:46:42 +01:00
committed by Martin Basti
parent e2b9ea2fd5
commit acdd1f5978
27 changed files with 148 additions and 8 deletions

13
pypi/Makefile.am Normal file
View File

@@ -0,0 +1,13 @@
# This file will be processed with automake-1.7 to create Makefile.in
#
AUTOMAKE_OPTIONS = 1.7 subdir-objects
NULL =
SUBDIRS = \
freeipa \
ipa \
ipaplatform \
ipaserver \
ipatests \
$(NULL)

3
pypi/freeipa/Makefile.am Normal file
View File

@@ -0,0 +1,3 @@
include $(top_srcdir)/Makefile.python.am
pkginstall = false

2
pypi/freeipa/README.txt Normal file
View File

@@ -0,0 +1,2 @@
This is a dummy package for FreeIPA's ipaclient.

6
pypi/freeipa/setup.cfg Normal file
View File

@@ -0,0 +1,6 @@
[bdist_wheel]
universal = 1
[aliases]
packages = clean --all egg_info bdist_wheel
release = packages register upload

23
pypi/freeipa/setup.py Executable file
View File

@@ -0,0 +1,23 @@
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA
Please install ipaclient instead.
"""
from os.path import abspath, dirname
import sys
if __name__ == '__main__':
# include ../../ for ipasetup.py
sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
from ipasetup import ipasetup # noqa: E402
ipasetup(
name='freeipa',
doc = __doc__,
install_requires=[
"ipaclient",
]
)

3
pypi/ipa/Makefile.am Normal file
View File

@@ -0,0 +1,3 @@
include $(top_srcdir)/Makefile.python.am
pkginstall = false

2
pypi/ipa/README.txt Normal file
View File

@@ -0,0 +1,2 @@
This is a dummy package for FreeIPA's ipaclient.

6
pypi/ipa/setup.cfg Normal file
View File

@@ -0,0 +1,6 @@
[bdist_wheel]
universal = 1
[aliases]
packages = clean --all egg_info bdist_wheel
release = packages register upload

23
pypi/ipa/setup.py Executable file
View File

@@ -0,0 +1,23 @@
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA
Please install ipaclient instead.
"""
from os.path import abspath, dirname
import sys
if __name__ == '__main__':
# include ../../ for ipasetup.py
sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
from ipasetup import ipasetup # noqa: E402
ipasetup(
name='ipa',
doc = __doc__,
install_requires=[
"ipaclient",
]
)

View File

@@ -0,0 +1,3 @@
include $(top_srcdir)/Makefile.python.am
pkginstall = false

View File

@@ -0,0 +1,2 @@
This is a dummy package for FreeIPA's ipaplatform.

View File

@@ -0,0 +1,5 @@
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
raise ImportError("ipaplatform is not yet supported as PyPI package.")

View File

@@ -0,0 +1,6 @@
[bdist_wheel]
universal = 1
[aliases]
packages = clean --all egg_info bdist_wheel
release = packages register upload

26
pypi/ipaplatform/setup.py Executable file
View File

@@ -0,0 +1,26 @@
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA
ipaplatform is not yet available as PyPI package.
"""
from os.path import abspath, dirname
import sys
if __name__ == '__main__':
# include ../../ for ipasetup.py
sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
from ipasetup import ipasetup # noqa: E402
ipasetup(
name='ipaplatform',
doc = __doc__,
packages=[
"ipaplatform",
],
install_requires=[
"ipaclient",
]
)

View File

@@ -0,0 +1,3 @@
include $(top_srcdir)/Makefile.python.am
pkginstall = false

View File

@@ -0,0 +1,2 @@
This is a dummy package for FreeIPA's ipaserver.

View File

@@ -0,0 +1,5 @@
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
raise ImportError("ipaserver is not yet supported as PyPI package.")

6
pypi/ipaserver/setup.cfg Normal file
View File

@@ -0,0 +1,6 @@
[bdist_wheel]
universal = 1
[aliases]
packages = clean --all egg_info bdist_wheel
release = packages register upload

26
pypi/ipaserver/setup.py Executable file
View File

@@ -0,0 +1,26 @@
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA
ipatests is not yet available as PyPI package.
"""
from os.path import abspath, dirname
import sys
if __name__ == '__main__':
# include ../../ for ipasetup.py
sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
from ipasetup import ipasetup # noqa: E402
ipasetup(
name='ipaserver',
doc = __doc__,
packages=[
"ipaserver",
],
install_requires=[
"ipaclient",
]
)

View File

@@ -0,0 +1,3 @@
include $(top_srcdir)/Makefile.python.am
pkginstall = false

2
pypi/ipatests/README.txt Normal file
View File

@@ -0,0 +1,2 @@
This is a dummy package for FreeIPA's ipatests.

View File

@@ -0,0 +1,5 @@
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
raise ImportError("ipatests is not yet supported as PyPI package.")

6
pypi/ipatests/setup.cfg Normal file
View File

@@ -0,0 +1,6 @@
[bdist_wheel]
universal = 1
[aliases]
packages = clean --all egg_info bdist_wheel
release = packages register upload

26
pypi/ipatests/setup.py Executable file
View File

@@ -0,0 +1,26 @@
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
"""Dummy package for FreeIPA
ipatests is not yet available as PyPI package.
"""
from os.path import abspath, dirname
import sys
if __name__ == '__main__':
# include ../../ for ipasetup.py
sys.path.append(dirname(dirname(dirname(abspath(__file__)))))
from ipasetup import ipasetup # noqa: E402
ipasetup(
name='ipatests',
doc = __doc__,
packages=[
"ipatests",
],
install_requires=[
"ipaclient",
]
)