Try to register spaCy entry-points
@@ -55,6 +55,14 @@ cuda92 =
cuda100 =
cupy-cuda100>=5.0.0b4
+[options.entry_points]
+spacy_factories =
+ transformer = spacy_transformers.Transformer.from_nlp
+spacy_architectures =
+ spacy-transformers.Tok2VecListener.v1 = spacy_transformers:architectures.transformer_listener_tokvec_v1
+ spacy-transformers.Tok2VecTransformer.v1 = spacy_transformers:architectures.transformer_tokvec_v1
+ spacy-transformers.TransformerModel.v1 = spacy_transformers:architectures.TransformerModel
+
[bdist_wheel]
universal = true
