Skip to content

Commit

Permalink
Allow editable installs with pip (not defining dependencies yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Luettgau committed Jul 5, 2022
1 parent 235e0e5 commit a1992d9
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
Empty file added LICENSE
Empty file.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42"]
build-backend = "setuptools.build_meta"
24 changes: 24 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[metadata]
name = nsdf
version = 0.0.1
author = NSDF
author_email = [email protected]
description = NSDF Python Libraries
long_description = file: ReadMe.md
long_description_content_type = text/markdown
url = https://github.com/nsdf-fabric/nsdf-data-catalog
project_urls =
Bug Tracker = https://github.com/nsdf-fabric/nsdf-data-catalog
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent

[options]
package_dir =
=nsdf
packages = find:
python_requires = >=3.6

[options.packages.find]
where = nsdf
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env python

# This is shim to allow editable installs also with older versions of pip.

import setuptools

if __name__ == "__main__":
setuptools.setup()

0 comments on commit a1992d9

Please sign in to comment.