Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libloc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
libloc
Commits
2bfbdb7c
Commit
2bfbdb7c
authored
Jan 04, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add setup.py for the python location module
parent
8c6d516d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
36 additions
and
0 deletions
+36
-0
src/python/libloc/location/__init__.py
src/python/libloc/location/__init__.py
+0
-0
src/python/libloc/location/database.py
src/python/libloc/location/database.py
+0
-0
src/python/libloc/location/downloader.py
src/python/libloc/location/downloader.py
+0
-0
src/python/libloc/location/export.py
src/python/libloc/location/export.py
+0
-0
src/python/libloc/location/i18n.py
src/python/libloc/location/i18n.py
+0
-0
src/python/libloc/location/importer.py
src/python/libloc/location/importer.py
+0
-0
src/python/libloc/location/logger.py
src/python/libloc/location/logger.py
+0
-0
src/python/setup.py
src/python/setup.py
+36
-0
No files found.
src/python/location/__init__.py
→
src/python/l
ibloc/l
ocation/__init__.py
View file @
2bfbdb7c
File moved
src/python/location/database.py
→
src/python/l
ibloc/l
ocation/database.py
View file @
2bfbdb7c
File moved
src/python/location/downloader.py
→
src/python/l
ibloc/l
ocation/downloader.py
View file @
2bfbdb7c
File moved
src/python/location/export.py
→
src/python/l
ibloc/l
ocation/export.py
View file @
2bfbdb7c
File moved
src/python/location/i18n.py
→
src/python/l
ibloc/l
ocation/i18n.py
View file @
2bfbdb7c
File moved
src/python/location/importer.py
→
src/python/l
ibloc/l
ocation/importer.py
View file @
2bfbdb7c
File moved
src/python/location/logger.py
→
src/python/l
ibloc/l
ocation/logger.py
View file @
2bfbdb7c
File moved
src/python/setup.py
0 → 100644
View file @
2bfbdb7c
import
os
from
setuptools
import
setup
,
Extension
setup
(
name
=
'libloc'
,
version
=
'0.9.16'
,
description
=
'libloc is a lightweight library which can be used to query the IPFire Location database.'
,
url
=
'https://location.ipfire.org/'
,
license
=
'LGPLv2+'
,
author
=
'IPFire'
,
author_email
=
'location@lists.ipfire.org'
,
ext_modules
=
[
Extension
(
name
=
"_location"
,
sources
=
[
"country.c"
,
"database.c"
,
"locationmodule.c"
,
"network.c"
,
"as.c"
,
"writer.c"
,
],
libraries
=
[
'loc'
],
define_macros
=
[
(
'PACKAGE_VERSION'
,
'"0.9.16"'
),
(
'LIBLOC_DEFAULT_DATABASE_PATH'
,
'"/var/lib/location/database.db"'
)
],
),
],
packages
=
[
'libloc.location'
],
classifiers
=
[
'Intended Audience :: Developers'
,
'Programming Language :: Python'
,
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)'
,
],
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment