-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
29 lines (25 loc) · 928 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from setuptools import setup
from pyscses import __version__ as VERSION
import re
def remove_img_tags(data):
p = re.compile(r'<img.*?/>')
return p.sub('', data)
readme = 'README.md'
long_description = open( readme ).read()
# Removing images seems easier than trying to get them to work on PyPI.
long_description = remove_img_tags( long_description )
config = {
'description': 'PYthon Space-Charge Site Explicit Solver',
'long_description': long_description,
'long_description_content_type': 'text/markdown',
'name': 'pyscses',
'author': 'Georgina L. Wellock',
'author_email': '[email protected]',
'packages': ['pyscses'],
'url': 'https://github.com/bjmorgan/pyscses',
'download_url': 'https://github.com/bjmorgan/pyscses/archive/%s.tar.gz' % (VERSION),
'version': VERSION,
'install_requires': open( 'requirements.txt' ).read(),
'license': 'MIT'
}
setup(**config)