This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Max gerrit-no-reply at lists.osmocom.orgMax has submitted this change and it was merged.
Change subject: Use setuptools for packaging
......................................................................
Use setuptools for packaging
According to https://docs.python.org/3/library/distutils.html the
setuptools are used in place of distutils anyway. Using it directly
allows us to make packaging more flexible: specify dependencies,
automatically find package name etc.
Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
---
M osmopy/__init__.py
M setup.py
2 files changed, 3 insertions(+), 3 deletions(-)
Approvals:
Harald Welte: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/osmopy/__init__.py b/osmopy/__init__.py
index b760111..3fd197f 100644
--- a/osmopy/__init__.py
+++ b/osmopy/__init__.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-__version__ = '0.0.2'
+__version__ = '0.0.3'
__all__ = ['obscvty', 'osmodumpdoc', 'osmotestconfig', 'osmotestvty',
'osmoutil',
diff --git a/setup.py b/setup.py
index 3e147c4..993c2b3 100755
--- a/setup.py
+++ b/setup.py
@@ -15,7 +15,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-from distutils.core import setup
+from setuptools import setup, find_packages
from osmopy import __version__
import sys
@@ -35,7 +35,7 @@
setup(
name = 'osmopython',
version = __version__,
- packages = ["osmopy"],
+ packages = find_packages(),
scripts = scripts,
license = "AGPLv3",
description = "Osmopython: osmocom testing scripts",
--
To view, visit https://gerrit.osmocom.org/5279
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I39ee53f352001e47c6df055cbec52d638480253d
Gerrit-PatchSet: 8
Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>