Skip to content

Commit

Permalink
[rm_skycoin] refs skycoin#42. Remove skycoin.py and pyskycoin_wrap.c …
Browse files Browse the repository at this point in the history
…from extension. These files are generated.
  • Loading branch information
stdevEclipse committed Jul 17, 2018
1 parent 6e0bba7 commit 825ce9d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 54,651 deletions.
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ include LICENSE.txt

include Makefile
include gopath/src/github.com/skycoin/skycoin/Makefile
#include gopath/src/github.com/skycoin/skycoin/build/libskycoin/libskycoin.a
include skycoin.py

recursive-include . *.s
recursive-include . *.go
Expand Down
22 changes: 0 additions & 22 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,6 @@ def build_extension(self, ext):
# Handle unspecial extensions with the parent class' method
super(skycoin_build_ext, self).build_extension(ext)
else:
# Handle special extension
sources = ext.sources
if sources is None or not isinstance(sources, (list, tuple)):
raise DistutilsSetupError(
"in 'ext_modules' option (extension '%s'), "
"'sources' must be present and must be "
"a list of source filenames" % ext.name)
sources = list(sources)

if len(sources)>1:
sources_path = os.path.commonprefix(sources)
else:
sources_path = os.path.dirname(sources[0])
sources_path = os.path.realpath(sources_path)
if not sources_path.endswith(os.path.sep):
sources_path+= os.path.sep

if not os.path.exists(sources_path) or not os.path.isdir(sources_path):
raise DistutilsSetupError(
"in 'extensions' option (extension '%s'), "
"the supplied 'sources' base dir "
"must exist" % ext.name)

make_path = os.path.realpath(script_dirname)

Expand Down
Loading

0 comments on commit 825ce9d

Please sign in to comment.