Permalink
Browse files

Make package ready to pip

  • Loading branch information...
hombit committed Nov 8, 2017
1 parent ec26233 commit 71e2466932dcda63513d3b269e8c3cc071ef3de5
Showing with 24 additions and 26 deletions.
  1. +1 −19 .gitignore
  2. +3 −0 MANIFEST.in
  3. +20 −7 setup.py
@@ -9,23 +9,5 @@ build/
dist/
*.egg-info/


### MacOs ###
.DS_Store


### KDE ###
.directory


### Vim ###
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]


### IPythonNotebook ###
### Jupyter ###
.ipynb_checkpoints/


### Idea ###
.idea/
@@ -0,0 +1,3 @@
include README.md
include LICENSE
include requirements.txt
@@ -1,23 +1,36 @@
#!/usr/bin/env python3

# Read packaging and distributing tutorial:
# https://packaging.python.org/tutorials/distributing-packages/

from setuptools import find_packages, setup
import os
import glob

here = os.path.abspath(os.path.dirname(__file__))

with open('requirements.txt') as f:
reqs = f.read().splitlines()
with open(os.path.join(here, 'README.md')) as f:
long_description = f.read()

with open(os.path.join(here, 'requirements.txt')) as f:
install_requires=f.read().splitlines()

setup(
name='scientific_python',
version='0.0.1',
url='https://xray.sai.msu.ru/~malanchev/',
version='0.1.0',
url='http://homb.it/sci_py/',
license='MIT',
author='Konstantin Malanchev',
author_email='malanchev@physics.msu.ru',
description='Package with materials for Scientific Python course for astronomers in Moscow University',
long_description=long_description,
packages=find_packages(),
scripts=['bin/sci_py_example', 'bin/sci_py_import_all'],
package_data={
'scientific_python': ['misc', 'doc'],
},
data_files=[
('doc', ['doc/course_abstract.docx',]),
('misc', glob.glob('misc/**/*', recursive=True)),
],
install_requires=install_requires,
# test_suite='scientific_python.test.suite',
classifiers=[
'Intended Audience :: Education',

0 comments on commit 71e2466

Please sign in to comment.