Comments (6)
install_requires is only added to setup args when setuptools is already loaded, so it's never passed to plain distutils.
from traitlets.
Yes, so distutils doesn't get the "requires" it needs, and my debian packaging doesn't pick the dependencies correctly.
from traitlets.
How is the package constructed?
from traitlets.
The package is built with a debian tool (pybuild), which calls setup.py with the actual arguments -- and then parses some resulting files to get metadata about the package.
If setup.py's install target uses distutils but distutils' setup doesn't get the 'requires', then the dep information will be lost.
I must admit I don't quite follow why setuptools is used at some steps and not at others [I think I'll hit the problem with quite a few IPython/Jupyter packages... let's discuss here...]
from traitlets.
Ok, I added a package-patch to make setuptools used for each and every target -- that way everything works.
from traitlets.
@SnarkBoojum - I don't know much about Debian packaging but I was wondering if this type of "package patch" should be contributed to the traitlets repo or if it is an idiosyncrasy of Debian that should not be here.
from traitlets.
Related Issues (20)
- docs do not mention if loading application data from config files is a security risk or not
- Should we open a discussions tab in this github?
- Union trait does not parse correctly from strings
- `TraitType.make_dynamic_default` is not mentioned in the docs
- Missing project description at PyPI HOT 1
- Version 5.7.0 raises AttributeError: __provides__ HOT 1
- `DeprecationWarning:` in traitlets HOT 5
- is it normal that SequenceTypes are not iterable ? HOT 1
- Bug in version 5.8.0 HOT 4
- `UseEnum` does not work with str enum
- How to create required CLI config options? HOT 5
- breaking change: __all__ limits what is exported
- instance_init of Union subclass not being called
- bug: use of warnings.warn() does not always include stacklevel
- Confused about self.parent HOT 1
- [error]You can use 'hmac-sha256' instead of '"hmac-sha256"' if you require traitlets >=5
- Application.load_config_file loads all files with same basename as given file HOT 3
- Clarification on the self.config object HOT 1
- Pyright diagnostic type incompatible
- Is there a way to only show base "--help" for explicitly defined options?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traitlets.