Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 16d0ed0

Browse files
veneStrikerRUS
andauthored
Use distutils for sdist, not setuptools (#123)
Co-authored-by: Nikita Titov <[email protected]>
1 parent a97ce6c commit 16d0ed0

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include MANIFEST.in
2+
include README.rst
23
include Makefile
34
include requirements*.txt
45
recursive-include lightning *.c *.h *.cpp *.pyx *.pxd

setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import re
66
import sys
77
import os
8+
from distutils.command.sdist import sdist
89
import setuptools
910
from numpy.distutils.core import setup
1011

@@ -67,6 +68,7 @@ def configuration(parent_package='', top_path=None):
6768
download_url=DOWNLOAD_URL,
6869
long_description=LONG_DESCRIPTION,
6970
zip_safe=False, # the package can run out of an .egg file
71+
cmdclass={"sdist": sdist},
7072
classifiers=[
7173
'Intended Audience :: Science/Research',
7274
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)