Skip to content

Commit

Permalink
Packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
celestian committed Apr 27, 2019
1 parent 0c757f9 commit 5e200dc
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The goal of sim_jop project is create open source game of railway traffic contro
If you want to be in touch with the community, please connect to [discord](https://discord.gg/drcmjBf).


## Usage
## Development & Contributions

### Setup development environment on Linux

Expand Down Expand Up @@ -39,6 +39,12 @@ If you want to be in touch with the community, please connect to [discord](https

source env/bin/activate

### Build package & release

pip3 install --upgrade setuptools wheel twine
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*


## Resources

Expand Down
28 changes: 21 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
#!/usr/bin/env python3
import setuptools

from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()

setup(
name='sim_jop',
version='0.0.1',
packages=['sim_jop'],
setuptools.setup(
name="sim_jop",
version="0.0.2",
author="celestian",
author_email="[email protected]",
description="The Game of Railway Traffic Control",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/celestian/sim_jop",
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'sim_jop = sim_jop.__main__:main'
]
}
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Topic :: Games/Entertainment :: Simulation",
"Development Status :: 1 - Planning",
],
)
1 change: 1 addition & 0 deletions sim_jop/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name = "sim_jop"

0 comments on commit 5e200dc

Please sign in to comment.