forked from QQuick/zzz_Numscrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 31a796b
Showing
7 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
*.nogit | ||
*.pyc | ||
*.npp | ||
**.__pycache__/ | ||
dist/ | ||
Numscrypt.egg-info/ | ||
Numscrypt/development/attic/ | ||
Numcrypt/development/docs/ | ||
Numscrypt/development/experiments/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
global-include *.py *.js *.rst *.html *.css *.lyx *.pdf *.png *.gif *.jpg *.txt *.jar *.bat * | ||
global-exclude *.pyc .gitignore | ||
|
||
prune .git | ||
prune dist | ||
prune Numscrypt.egg-info | ||
prune Numscrypt/development/attic | ||
prune Numscrypt/development/docs | ||
prune Numscrypt/development/experiments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import os | ||
|
||
shipDir = os.path.dirname (os.path.abspath (__file__)) .replace ('\\', '/') | ||
appRootDir = '/'.join (shipDir.split ('/')[ : -2]) | ||
distributionDir = '/'.join (appRootDir.split ('/')[ : -1]) | ||
dynWebRootDir, statWebRootDir = eval (open ('upload_all.nogit') .read ()) | ||
sphinxDir = '/'.join ([appRootDir, 'docs/sphinx']) | ||
|
||
def getAbsPath (rootDir, relPath): | ||
return '{}/{}'.format (rootDir, relPath) | ||
|
||
def copyWebsite (projRelPath, webRelPath, static = False, subdirs = False): | ||
os.system ('xcopy /Y {} {} {}'.format ('/E' if subdirs else '', getAbsPath (appRootDir, projRelPath) .replace ('/', '\\'), getAbsPath (statWebRootDir if static else dynWebRootDir, webRelPath) .replace ('/', '\\'))) | ||
|
||
#os.chdir (sphinxDir) | ||
#os.system ('make html') | ||
#copyWebsite ('docs/sphinx/_build/html', 'docs/html/', True, True) | ||
|
||
os.chdir (distributionDir) | ||
|
||
os.system ('uploadPython') | ||
|
||
os.system ('git add .') | ||
os.system ('git commit -m"{}"'.format (input ('Description of commit: '))) | ||
os.system ('git push origin master') | ||
|
||
os.chdir (shipDir) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Licence | ||
======= | ||
|
||
Copyright 2016 Jacques de Hooge, GEATEC engineering, www.geatec.com | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Don't hold your breath... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[wheel] | ||
universal = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import os | ||
|
||
from setuptools import setup | ||
|
||
def read (*paths): | ||
with open (os.path.join (*paths), 'r') as aFile: | ||
return aFile.read() | ||
|
||
setup ( | ||
name = 'Numscrypt', | ||
version = '0.0.0', | ||
description = 'Purely experimental, overly optimistic attempt to port a microscopic part of NumPy to Transcrypt using JS typed arrays', | ||
long_description = ( | ||
read ('README.rst') + '\n\n' + | ||
read ('Numscrypt/license_reference.txt') | ||
), | ||
keywords = ['transcrypt', 'numpy', 'browser'], | ||
url = 'https://github.com/JdeH/Numscrypt', | ||
license = 'Apache 2.0', | ||
author = 'Jacques de Hooge', | ||
author_email = '[email protected]', | ||
packages = ['Numscrypt'], | ||
include_package_data = True, | ||
classifiers = [ | ||
'Development Status :: 1 - Planning', | ||
'Intended Audience :: Developers', | ||
'Natural Language :: English', | ||
'License :: OSI Approved :: Apache Software License', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python :: 3.5', | ||
], | ||
) |