The canonical version of this code now lives in Pagure. Replace the reference to Jay's version. Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
30 lines
957 B
Python
Executable file
30 lines
957 B
Python
Executable file
#!/usr/bin/python
|
|
from setuptools import setup, find_packages
|
|
import distutils.command.sdist
|
|
import os
|
|
|
|
distutils.command.sdist.sdist.default_format = {"posix": "bztar"}
|
|
|
|
# recursively scan for python modules to be included
|
|
package_root_dirs = ["multilib"]
|
|
packages = set()
|
|
for package_root_dir in package_root_dirs:
|
|
for root, dirs, files in os.walk(package_root_dir):
|
|
if "__init__.py" in files:
|
|
packages.add(root.replace("/", "."))
|
|
packages = sorted(packages)
|
|
|
|
setup(
|
|
name = "python-multilib",
|
|
version = "1.3",
|
|
author = "Jay Greguske",
|
|
author_email = "jgregusk@redhat.com",
|
|
description = ("module for determining if a package is multilib"),
|
|
license = "GPLv2",
|
|
url = "https://pagure.io/releng/python-multilib",
|
|
packages = packages,
|
|
install_requires = ['six'],
|
|
package_data = {'': ['README.md', 'LICENSE']},
|
|
#data_files = [('/etc', ['etc/multilib.conf'])],
|
|
test_suite = "tests",
|
|
)
|